Spaces:
Runtime error
Runtime error
TheStinger
commited on
Commit
•
a7fceac
1
Parent(s):
6582356
Update app.py
Browse files
app.py
CHANGED
@@ -17,14 +17,14 @@ def main():
|
|
17 |
"""
|
18 |
)
|
19 |
|
20 |
-
with gr.
|
21 |
-
with gr.
|
22 |
audio_input = gr.Audio(type='filepath')
|
23 |
create_spec_butt = gr.Button(value='Create Spectrogram And Get Info', variant='primary')
|
24 |
|
25 |
-
with gr.
|
26 |
output_markdown = gr.Markdown(value="", visible=True)
|
27 |
-
image_output = gr.Image(type='filepath', interactive=
|
28 |
|
29 |
create_spec_butt.click(fn=create_spectrogram_and_get_info, inputs=[audio_input], outputs=[output_markdown, image_output])
|
30 |
|
|
|
17 |
"""
|
18 |
)
|
19 |
|
20 |
+
with gr.Row(elem_id=1):
|
21 |
+
with gr.Column():
|
22 |
audio_input = gr.Audio(type='filepath')
|
23 |
create_spec_butt = gr.Button(value='Create Spectrogram And Get Info', variant='primary')
|
24 |
|
25 |
+
with gr.Row(elem_id=2):
|
26 |
output_markdown = gr.Markdown(value="", visible=True)
|
27 |
+
image_output = gr.Image(type='filepath', interactive=False)
|
28 |
|
29 |
create_spec_butt.click(fn=create_spectrogram_and_get_info, inputs=[audio_input], outputs=[output_markdown, image_output])
|
30 |
|