Update app.py
Browse files
app.py
CHANGED
@@ -101,5 +101,9 @@ with gr.Blocks() as demo:
|
|
101 |
with gr.Column():
|
102 |
magnet_o = gr.Video(label="MAGNet output")
|
103 |
audioldm2_o = gr.Video(label="AudioLDM2 output")
|
104 |
-
|
|
|
|
|
|
|
|
|
105 |
demo.queue(max_size=10).launch(debug=True)
|
|
|
101 |
with gr.Column():
|
102 |
magnet_o = gr.Video(label="MAGNet output")
|
103 |
audioldm2_o = gr.Video(label="AudioLDM2 output")
|
104 |
+
submit_btn.click(
|
105 |
+
fn=infer,
|
106 |
+
inputs=[image_in],
|
107 |
+
outputs=[magnet_o, audioldm2_o]
|
108 |
+
)
|
109 |
demo.queue(max_size=10).launch(debug=True)
|