fffiloni commited on
Commit
f99eac6
1 Parent(s): cb30e36

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
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,concurrency_count=10).launch(show_api=False)
 
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)