dawood HF staff commited on
Commit
81cd1da
1 Parent(s): 3fb4243

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -3
app.py CHANGED
@@ -78,11 +78,12 @@ article = "<p style='text-align: center'><a href='https://arxiv.org/abs/2110.087
78
  examples=[['example.wav']]
79
  gr.Interface(
80
  inference,
81
- gr.inputs.Audio(type="file", label="Input Audio"),
82
- [gr.outputs.Audio(type="file", label="Original audio"),gr.outputs.Audio(type="file", label="Reconstructed audio"),gr.outputs.Image(type="plot", label="Original Spectrogram:"),gr.outputs.Image(type="plot",label="Reconstructed Spectrogram:")],
83
  title=title,
84
  description=description,
85
  article=article,
86
  enable_queue=True,
87
- examples=examples
 
88
  ).launch(debug=True)
 
78
  examples=[['example.wav']]
79
  gr.Interface(
80
  inference,
81
+ gr.Audio(type="file", label="Input Audio"),
82
+ [gr.Audio(type="file", label="Original audio"),gr.Audio(type="file", label="Reconstructed audio"),gr.Plot(label="Original Spectrogram:"),gr.Plot(label="Reconstructed Spectrogram:")],
83
  title=title,
84
  description=description,
85
  article=article,
86
  enable_queue=True,
87
+ examples=examples,
88
+ cache_examples=True
89
  ).launch(debug=True)