fffiloni commited on
Commit
d83c819
1 Parent(s): 2bb21bd

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -1
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)