vumichien commited on
Commit
f73b286
1 Parent(s): 631d51c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -0
app.py CHANGED
@@ -101,12 +101,14 @@ inputs = [
101
  gr.Audio(source = "upload", label='Upload audio file', type="filepath"),
102
  ]
103
 
 
104
 
105
  gr.Interface(
106
  fn=predict,
107
  title="MelGAN-based spectrogram inversion",
108
  description = "Inversion of audio from mel-spectrograms using the MelGAN architecture and feature matching",
109
  inputs=inputs,
 
110
  outputs=gr.Plot(),
111
  article = "Author: <a href=\"https://huggingface.co/vumichien\">Vu Minh Chien</a>. Based on the keras example from <a href=\"https://keras.io/examples/audio/melgan_spectrogram_inversion/\">Darshan Deshpande</a>",
112
  ).launch(debug=False, enable_queue=True)
 
101
  gr.Audio(source = "upload", label='Upload audio file', type="filepath"),
102
  ]
103
 
104
+ examples = ["examples_1"]
105
 
106
  gr.Interface(
107
  fn=predict,
108
  title="MelGAN-based spectrogram inversion",
109
  description = "Inversion of audio from mel-spectrograms using the MelGAN architecture and feature matching",
110
  inputs=inputs,
111
+ examples=examples,
112
  outputs=gr.Plot(),
113
  article = "Author: <a href=\"https://huggingface.co/vumichien\">Vu Minh Chien</a>. Based on the keras example from <a href=\"https://keras.io/examples/audio/melgan_spectrogram_inversion/\">Darshan Deshpande</a>",
114
  ).launch(debug=False, enable_queue=True)