Spaces:
Runtime error
Runtime error
TheStinger
commited on
Commit
•
d7b3827
1
Parent(s):
581f75d
Update app.py
Browse files
app.py
CHANGED
@@ -36,6 +36,7 @@ def create_spectrogram_and_get_info(audio_file):
|
|
36 |
return info_table, 'spectrogram.png'
|
37 |
|
38 |
# Create the Gradio interface
|
39 |
-
iface = gr.Interface(fn=create_spectrogram_and_get_info, inputs=gr.
|
40 |
iface.launch()
|
41 |
|
|
|
|
36 |
return info_table, 'spectrogram.png'
|
37 |
|
38 |
# Create the Gradio interface
|
39 |
+
iface = gr.Interface(fn=create_spectrogram_and_get_info, inputs=gr.Audio(type="file"), outputs=["markdown", "image"])
|
40 |
iface.launch()
|
41 |
|
42 |
+
|