Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -168,7 +168,7 @@ with gr.Blocks(css=css) as block:
|
|
168 |
|
169 |
gr.HTML(article)
|
170 |
|
171 |
-
submit_btn.click(fn=inference, inputs=[input_image,mode_input,flavor_input], outputs=[output_text, share_button, community_icon, loading_icon], api_name="clipi2")
|
172 |
share_button.click(None, [], [], js=share_js)
|
173 |
|
174 |
-
block.queue(max_size=32
|
|
|
168 |
|
169 |
gr.HTML(article)
|
170 |
|
171 |
+
submit_btn.click(fn=inference, inputs=[input_image,mode_input,flavor_input], outputs=[output_text, share_button, community_icon, loading_icon], concurrency_limit=10, api_name="clipi2")
|
172 |
share_button.click(None, [], [], js=share_js)
|
173 |
|
174 |
+
block.queue(max_size=32).launch(show_api=False)
|