File size: 268 Bytes
4d7a139
9678321
4d7a139
9136d21
4d7a139
9136d21
49e269a
1
2
3
4
5
6
7
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)