Hugging Face
Models
Datasets
Spaces
Posts
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
DataAnalyticsLab
/
PersianGPT-Demo
like
0
Runtime error
App
Files
Files
Community
Fetching metadata from the HF Docker repository...
2ee44f2
PersianGPT-Demo
/
app.py
vpcom
Update app.py
2ee44f2
verified
8 months ago
raw
Copy download link
history
blame
Safe
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()