TheStinger commited on
Commit
5c391a5
1 Parent(s): 1762dd4

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.File(type="audio"), outputs="image")
21
  iface.launch()
 
17
  return 'spectrogram.png'
18
 
19
  # Crea l'interfaccia Gradio
20
+ iface = gr.Interface(fn=create_spectrogram, inputs=gr.Audio(), outputs="image")
21
  iface.launch()