Spaces:
Runtime error
Runtime error
Matthijs Hollemans
commited on
Commit
•
d1b714f
1
Parent(s):
9c04d5e
fix gradio inputs + outputs
Browse files
app.py
CHANGED
@@ -243,16 +243,16 @@ examples = [
|
|
243 |
gr.Interface(
|
244 |
fn=predict,
|
245 |
inputs=[
|
246 |
-
gr.
|
247 |
-
gr.
|
248 |
],
|
249 |
outputs=[
|
250 |
gr.Plot(label="Depthmap"),
|
251 |
gr.Plot(label="Impulse Response Spectrogram"),
|
252 |
gr.Plot(label="Impulse Response Waveform"),
|
253 |
-
gr.
|
254 |
-
gr.
|
255 |
-
gr.
|
256 |
],
|
257 |
title=title,
|
258 |
description=description,
|
|
|
243 |
gr.Interface(
|
244 |
fn=predict,
|
245 |
inputs=[
|
246 |
+
gr.Image(label="Upload Image"),
|
247 |
+
gr.Audio(label="Upload Audio", source="upload", type="numpy"),
|
248 |
],
|
249 |
outputs=[
|
250 |
gr.Plot(label="Depthmap"),
|
251 |
gr.Plot(label="Impulse Response Spectrogram"),
|
252 |
gr.Plot(label="Impulse Response Waveform"),
|
253 |
+
gr.Audio(label="Impulse Response", type="numpy"),
|
254 |
+
gr.Audio(label="Output Audio (100% Wet)", type="numpy"),
|
255 |
+
gr.Audio(label="Output Audio (50% Dry, 50% Wet)", type="numpy"),
|
256 |
],
|
257 |
title=title,
|
258 |
description=description,
|