Update app.py
Browse files
app.py
CHANGED
@@ -143,15 +143,16 @@ with gr.Blocks(css=css) as demo:
|
|
143 |
Image to SFX
|
144 |
</h2>
|
145 |
<p style="text-align: center;">
|
146 |
-
Compare MAGNet and
|
147 |
</p>
|
148 |
""")
|
149 |
|
150 |
with gr.Column():
|
151 |
image_in = gr.Image(sources=["upload"], type="filepath", label="Image input", value="oiseau.png")
|
152 |
-
|
153 |
-
|
154 |
-
|
|
|
155 |
audio_o = gr.Audio(label="Audio output")
|
156 |
|
157 |
submit_btn.click(
|
|
|
143 |
Image to SFX
|
144 |
</h2>
|
145 |
<p style="text-align: center;">
|
146 |
+
Compare MAGNet, AudioLDM2 and AudioGen sound effects generation from image caption.
|
147 |
</p>
|
148 |
""")
|
149 |
|
150 |
with gr.Column():
|
151 |
image_in = gr.Image(sources=["upload"], type="filepath", label="Image input", value="oiseau.png")
|
152 |
+
with gr.Row():
|
153 |
+
chosen_model = gr.Radio(label="Choose a model", choices=["MAGNet", "AudioLDM-2", "AudioGen"], value="AudioLDM-2")
|
154 |
+
submit_btn = gr.Button("Submit")
|
155 |
+
with gr.Column():
|
156 |
audio_o = gr.Audio(label="Audio output")
|
157 |
|
158 |
submit_btn.click(
|