File size: 440 Bytes
1f50c05
 
a5d4485
 
 
683fdd9
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
#secret = os.getenv('huggingfacesecret')

import os
from huggingface_hub import HfApi

#token = os.getenv('HF_API_TOKEN')
api = HfApi()
api.login(token=secret)

# 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)