Spaces:
Running
on
Zero
Running
on
Zero
Commit
·
0d6817f
1
Parent(s):
80f3c49
Update app.py
Browse files
app.py
CHANGED
@@ -244,7 +244,7 @@ with gr.Blocks(css=css) as demo:
|
|
244 |
|
245 |
thumbs_up.click(save_preferences, inputs=[lora_1_id, lora_1_scale, lora_2_id, lora_2_scale, prompt, output_image, gr.State("up"), last_used_seed], outputs=[thumbs_up, thumbs_up_clicked, thumbs_down])
|
246 |
thumbs_down.click(save_preferences, inputs=[lora_1_id, lora_1_scale, lora_2_id, lora_2_scale, prompt, output_image, gr.State("down"), last_used_seed], outputs=[thumbs_down, thumbs_down_clicked, thumbs_up])
|
247 |
-
share_button.click(None, [], [],
|
248 |
|
249 |
demo.queue(concurrency_count=2)
|
250 |
demo.launch()
|
|
|
244 |
|
245 |
thumbs_up.click(save_preferences, inputs=[lora_1_id, lora_1_scale, lora_2_id, lora_2_scale, prompt, output_image, gr.State("up"), last_used_seed], outputs=[thumbs_up, thumbs_up_clicked, thumbs_down])
|
246 |
thumbs_down.click(save_preferences, inputs=[lora_1_id, lora_1_scale, lora_2_id, lora_2_scale, prompt, output_image, gr.State("down"), last_used_seed], outputs=[thumbs_down, thumbs_down_clicked, thumbs_up])
|
247 |
+
share_button.click(None, [], [], js=share_js)
|
248 |
|
249 |
demo.queue(concurrency_count=2)
|
250 |
demo.launch()
|