Spaces:
Runtime error
Runtime error
Update app.py
#1
by
dawood
HF Staff
- opened
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.
|
| 82 |
-
[gr.
|
| 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)
|