Shutupnlearn commited on
Commit
da35306
1 Parent(s): d9d334b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -1
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="demo_write")
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