File size: 520 Bytes
1f50c05
 
a5d4485
 
683fdd9
a5d4485
 
293bbdb
 
75f1980
ee36ff2
a5d4485
 
75f1980
a5d4485
683fdd9
a5d4485
340a55a
a5d4485
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# 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)