Update app.py
Browse files14 unmodified lines151617181914 unmodified lines# For ithentication issue, always share https://pctseng-demo.hf.spacedemo = gr.load("PCTseng/EFP_Demo", src="spaces", hf_token = os.getenv('demo_gradioapp'), js=js_dark_theme).render()demo.queue().launch(auth=('demo',os.getenv('password')), share=True, ssr_mode=False)14 unmodified lines151617181920212214 unmodified lines# For ithentication issue, always share https://pctseng-demo.hf.space#demo = gr.load("PCTseng/EFP_Demo", src="spaces", hf_token = os.getenv('demo_gradioapp'), js=js_dark_theme).render()with gr.Blocks(js=js_dark_theme) as app:gr.load("PCTseng/EFP_Demo", src="spaces", hf_token = os.getenv('demo_gradioapp')).render()demo.queue().launch(auth=('demo',os.getenv('password')), share=True, ssr_mode=False)
app.py+4-1