File size: 325 Bytes
18a3cd9
345a435
d690b19
 
 
 
d67679a
1
2
3
4
5
6
7
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()