Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -39,8 +39,8 @@ with gr.Blocks(title="MTA", theme="nevreal/blues") as demo:
|
|
39 |
dot_duration_slider = gr.Slider(minimum=50, maximum=500, value=100, label="Dot Duration (ms)")
|
40 |
convert_button = gr.Button("Convert to Audio")
|
41 |
|
42 |
-
|
43 |
-
|
44 |
|
45 |
convert_button.click(morse_to_audio, inputs=[morse_input, freq_slider, dot_duration_slider], outputs=audio_output)
|
46 |
|
|
|
39 |
dot_duration_slider = gr.Slider(minimum=50, maximum=500, value=100, label="Dot Duration (ms)")
|
40 |
convert_button = gr.Button("Convert to Audio")
|
41 |
|
42 |
+
with gr.Column():
|
43 |
+
audio_output = gr.Audio(label="Morse Code Audio")
|
44 |
|
45 |
convert_button.click(morse_to_audio, inputs=[morse_input, freq_slider, dot_duration_slider], outputs=audio_output)
|
46 |
|