Spaces:
Sleeping
Sleeping
| # import gradio as gr | |
| # app = gr.Interface.load('hubsnippetai/jupyterlab').launch() | |
| #import os | |
| import os | |
| from huggingface_hub import HfApi | |
| secret = os.getenv('huggingfacesecret') | |
| #token = os.getenv('HF_API_TOKEN')repo_id="hubsnippetai/medapp" | |
| api = HfApi(token=secret, repo_id="hubsnippetai/medapp", repo_type="space") | |
| #api.login() | |
| # Access your private space or model | |
| #private_model = api.model_info("hubsnippetai/medapp") | |
| #from gradio_client import Client | |
| #client = Client("hubsnippetai/medapp", hf_token=secret) |