PersianGPT-Demo / app.py
vpcom's picture
Update app.py
2ee44f2 verified
raw
history blame
171 Bytes
import gradio as gr
import os
HF_TOKEN = os.environ.get("hf_token", None)
print(HF_TOKEN)
gr.load("DataAnalyticsLab/PersianGPT", hf_token=HF_TOKEN, src='models').launch()