Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -169,6 +169,6 @@ with gr.Blocks(css=css) as block:
|
|
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, [], [],
|
173 |
|
174 |
block.queue(max_size=32,concurrency_count=10).launch(show_api=False)
|
|
|
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)
|