ploncker commited on
Commit
273d5de
·
verified ·
1 Parent(s): 27da4b3

app instead of demo

Browse files
Files changed (1) hide show
  1. app.py +2 -4
app.py CHANGED
@@ -17,7 +17,5 @@ key = os.environ['EM_TOKEN']
17
  #demo = gr.load("ploncker/emma", hf_token=key, src="spaces")
18
  #demo.launch()
19
 
20
- with gr.Blocks() as app:
21
- gr.load("ploncker/emma", hf_token=key, src="spaces").render()
22
-
23
- app.queue().launch()
 
17
  #demo = gr.load("ploncker/emma", hf_token=key, src="spaces")
18
  #demo.launch()
19
 
20
+ app = gr.load("ploncker/emma", hf_token=key, src="spaces")
21
+ app.launch()