Demo / app.py
PCTseng's picture
Update app.py
49e269a verified
raw
history blame
327 Bytes
import os
import gradio as gr
os.environ["HF_TOKEN"] = os.getenv('demo_gradioapp')
#demo = gr.load("PCTseng/EFP_Demo", src="spaces", hf_token = os.getenv('demo_gradioapp')).render()
demo = gr.load("PCTseng/EFP_Demo", src="spaces",).render()
demo.queue().launch(auth=('demo',os.getenv('password')), share=True, ssr_mode=False)