PCTseng commited on
Commit
cc285ef
·
verified ·
1 Parent(s): df3a2c7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -5
app.py CHANGED
@@ -15,8 +15,5 @@ function refresh() {
15
 
16
  # For ithentication issue, always share https://pctseng-demo.hf.space
17
 
18
- #demo = gr.load("PCTseng/EFP_Demo", src="spaces", hf_token = os.getenv('demo_gradioapp'), js=js_dark_theme).render()
19
- with gr.Blocks(js=js_dark_theme) as app:
20
- gr.load("PCTseng/EFP_Demo", src="spaces", hf_token = os.getenv('demo_gradioapp')).render()
21
-
22
- app.queue().launch(auth=('demo',os.getenv('password')), share=True, ssr_mode=False)
 
15
 
16
  # For ithentication issue, always share https://pctseng-demo.hf.space
17
 
18
+ demo = gr.load("PCTseng/EFP_Demo", src="spaces", hf_token = os.getenv('demo_gradioapp'), js=js_dark_theme).render()
19
+ demo.queue().launch(auth=('demo',os.getenv('password')), share=True, ssr_mode=False)