Spaces:
Runtime error
Runtime error
TheStinger
commited on
Commit
•
5c391a5
1
Parent(s):
1762dd4
Update app.py
Browse files
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.
|
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()
|