TheStinger commited on
Commit
1762dd4
1 Parent(s): 830353c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -17,5 +17,5 @@ def create_spectrogram(audio_file):
17
  return 'spectrogram.png'
18
 
19
  # Crea l'interfaccia Gradio
20
- iface = gr.Interface(fn=create_spectrogram, inputs=gr.inputs.Audio(type="file"), outputs="image")
21
  iface.launch()
 
17
  return 'spectrogram.png'
18
 
19
  # Crea l'interfaccia Gradio
20
+ iface = gr.Interface(fn=create_spectrogram, inputs=gr.inputs.File(type="audio"), outputs="image")
21
  iface.launch()