Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -75,7 +75,11 @@ with gr.Blocks(title="Text to Morse Code Audio Converter") as demo:
|
|
| 75 |
|
| 76 |
with gr.Row():
|
| 77 |
with gr.Column():
|
| 78 |
-
text_input = gr.Textbox(
|
|
|
|
|
|
|
|
|
|
|
|
|
| 79 |
frequency = gr.Slider(400, 1200, value=800, step=10, label="Audio Frequency (Hz)")
|
| 80 |
wpm = gr.Slider(5, 40, value=20, step=1, label="Speed (Words Per Minute)")
|
| 81 |
convert_button = gr.Button("Convert")
|
|
|
|
| 75 |
|
| 76 |
with gr.Row():
|
| 77 |
with gr.Column():
|
| 78 |
+
text_input = gr.Textbox(
|
| 79 |
+
label="Input Text",
|
| 80 |
+
placeholder="Enter text (e.g., SOS)",
|
| 81 |
+
examples=["SOS", "HELLO", "MORSE"]
|
| 82 |
+
)
|
| 83 |
frequency = gr.Slider(400, 1200, value=800, step=10, label="Audio Frequency (Hz)")
|
| 84 |
wpm = gr.Slider(5, 40, value=20, step=1, label="Speed (Words Per Minute)")
|
| 85 |
convert_button = gr.Button("Convert")
|