Demo / app.py
PCTseng's picture
Update app.py
9136d21 verified
raw
history blame
268 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.queue().launch(auth=('demo',os.getenv('password')), share=True, ssr_mode=False)