Update app.py
Browse files
app.py
CHANGED
@@ -118,7 +118,7 @@ with gr.Blocks(css="style.css") as demo:
|
|
118 |
input_img.change(input_changes, input_img, change_out)
|
119 |
|
120 |
clear_out = [manual_cap, caption_output, sound_output]
|
121 |
-
input_img.clear(input_clear,
|
122 |
|
123 |
generate.click(infer, inputs=[input_img, manual_cap, duration_in, seed_in, caption_output], outputs=[caption_output, sound_output, share_group], api_name="i2fx")
|
124 |
share_button.click(None, [], [], _js=share_js)
|
|
|
118 |
input_img.change(input_changes, input_img, change_out)
|
119 |
|
120 |
clear_out = [manual_cap, caption_output, sound_output]
|
121 |
+
input_img.clear(input_clear, [], clear_out)
|
122 |
|
123 |
generate.click(infer, inputs=[input_img, manual_cap, duration_in, seed_in, caption_output], outputs=[caption_output, sound_output, share_group], api_name="i2fx")
|
124 |
share_button.click(None, [], [], _js=share_js)
|