Spaces:
Runtime error
Runtime error
TheStinger
commited on
Commit
β’
6582356
1
Parent(s):
3eeee30
Update app.py
Browse files
app.py
CHANGED
@@ -10,21 +10,21 @@ def main():
|
|
10 |
gr.Markdown(
|
11 |
"""
|
12 |
# <div align="center"> Ilaria Audio Analyzer π (BETA) </div>
|
13 |
-
Audio Analyzer Software by Ilaria, Help me on Ko-Fi\n
|
14 |
-
Special thanks to Alex Murkoff for helping me coding it!
|
15 |
|
16 |
-
Need help with AI? Join AI Hub!
|
17 |
"""
|
18 |
)
|
19 |
|
20 |
-
with gr.
|
21 |
with gr.Row():
|
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 |
|
|
|
10 |
gr.Markdown(
|
11 |
"""
|
12 |
# <div align="center"> Ilaria Audio Analyzer π (BETA) </div>
|
13 |
+
Audio Analyzer Software by Ilaria, Help me on [Ko-Fi](https://ko-fi.com/ilariaowo)\n
|
14 |
+
Special thanks to [Alex Murkoff](https://github.com/alexlnkp) for helping me coding it!
|
15 |
|
16 |
+
Need help with AI? [Join AI Hub!](https://discord.gg/aihub)
|
17 |
"""
|
18 |
)
|
19 |
|
20 |
+
with gr.Column(elem_id=1):
|
21 |
with gr.Row():
|
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.Column(elem_id=2):
|
26 |
output_markdown = gr.Markdown(value="", visible=True)
|
27 |
+
image_output = gr.Image(type='filepath', interactive=True)
|
28 |
|
29 |
create_spec_butt.click(fn=create_spectrogram_and_get_info, inputs=[audio_input], outputs=[output_markdown, image_output])
|
30 |
|