Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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)
|