AI-Manith commited on
Commit
5b1df93
·
verified ·
1 Parent(s): cc156b1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -1,7 +1,8 @@
1
  import gradio as gr
 
 
 
2
 
3
- # Replace 'username/private-space-name' with your actual private space
4
- demo = gr.load("AI-Manith/test-backend", src="spaces")
5
 
6
 
7
  demo.launch()
 
1
  import gradio as gr
2
+ import os
3
+
4
+ demo = gr.load("AI-Manith/test-backend", src="spaces", hf_token=os.environ.get("HUGGING_FACE_HUB_TOKEN"))
5
 
 
 
6
 
7
 
8
  demo.launch()