Spaces:
Sleeping
Sleeping
# 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) |