Matthijs Hollemans commited on
Commit
d1b714f
1 Parent(s): 9c04d5e

fix gradio inputs + outputs

Browse files
Files changed (1) hide show
  1. app.py +5 -5
app.py CHANGED
@@ -243,16 +243,16 @@ examples = [
243
  gr.Interface(
244
  fn=predict,
245
  inputs=[
246
- gr.inputs.Image(label="Upload Image"),
247
- gr.inputs.Audio(label="Upload Audio", source="upload"),
248
  ],
249
  outputs=[
250
  gr.Plot(label="Depthmap"),
251
  gr.Plot(label="Impulse Response Spectrogram"),
252
  gr.Plot(label="Impulse Response Waveform"),
253
- gr.outputs.Audio(label="Impulse Response"),
254
- gr.outputs.Audio(label="Output Audio (100% Wet)"),
255
- gr.outputs.Audio(label="Output Audio (50% Dry, 50% Wet)"),
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,