chemouda commited on
Commit
91ecea2
1 Parent(s): b27ff3f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -3
app.py CHANGED
@@ -3,7 +3,10 @@ import gradio as gr
3
 
4
  read_key = os.environ.get('HF_TOKEN', None)
5
 
6
- with gr.Blocks() as demo:
7
- gr.load("chemouda/arome", hf_token=read_key, src="spaces")
 
 
 
8
 
9
- demo.launch(show_api=False)
 
3
 
4
  read_key = os.environ.get('HF_TOKEN', None)
5
 
6
+ #with gr.Blocks() as demo:
7
+ # gr.load("chemouda/arome", hf_token=read_key, src="spaces")
8
+
9
+ iface = gr.load(name="chemouda/arome", hf_token=read_key, src="spaces")
10
+ iface.queue(api_open=False).launch(show_api=False)
11
 
12
+ #demo.launch(show_api=False)