Spaces:
Runtime error
Runtime error
Shutupnlearn
commited on
Commit
•
da35306
1
Parent(s):
d9d334b
Update app.py
Browse files
app.py
CHANGED
@@ -1,6 +1,8 @@
|
|
1 |
import gradio as gr
|
|
|
2 |
|
|
|
3 |
|
4 |
-
demo = gr.load("Shutupnlearn/planche_demo", src="spaces", hf_token=
|
5 |
demo.launch()
|
6 |
|
|
|
1 |
import gradio as gr
|
2 |
+
import os
|
3 |
|
4 |
+
github_token = os.environ.get('demo')
|
5 |
|
6 |
+
demo = gr.load("Shutupnlearn/planche_demo", src="spaces", hf_token=github_token)
|
7 |
demo.launch()
|
8 |
|