Spaces:
Runtime error
Runtime error
import gradio as gr | |
import os | |
huggingface_token = os.getenv('HF_TOKEN') | |
# Set up the token to use with the Hugging Face API | |
if huggingface_token is not None: | |
os.environ['HUGGINGFACE_CO_API_TOKEN'] = huggingface_token | |
gr.load("Tokymin/Mood_Anxiety_Disorder_Classify_Model",hf_token=huggingface_token,src='models').launch() |