Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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()
|