Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -56,8 +56,8 @@ with gr.Blocks() as app:
|
|
| 56 |
|
| 57 |
play_button.click(play_text, inputs=[input_text], outputs=[])
|
| 58 |
|
| 59 |
-
gr.Markdown("### 🎤 Now record yourself reading the text aloud below:")
|
| 60 |
-
audio_input = gr.Audio(type="filepath", label="Record Your Voice"
|
| 61 |
|
| 62 |
submit_button = gr.Button("✅ Submit Recording for Checking")
|
| 63 |
|
|
@@ -65,7 +65,6 @@ with gr.Blocks() as app:
|
|
| 65 |
|
| 66 |
submit_button.click(transcribe_audio, inputs=[audio_input, input_text], outputs=[output])
|
| 67 |
|
| 68 |
-
|
| 69 |
# Launch the app
|
| 70 |
app.launch()
|
| 71 |
|
|
|
|
| 56 |
|
| 57 |
play_button.click(play_text, inputs=[input_text], outputs=[])
|
| 58 |
|
| 59 |
+
gr.Markdown("### 🎤 Now upload or record yourself reading the text aloud below:")
|
| 60 |
+
audio_input = gr.Audio(type="filepath", label="Upload or Record Your Voice")
|
| 61 |
|
| 62 |
submit_button = gr.Button("✅ Submit Recording for Checking")
|
| 63 |
|
|
|
|
| 65 |
|
| 66 |
submit_button.click(transcribe_audio, inputs=[audio_input, input_text], outputs=[output])
|
| 67 |
|
|
|
|
| 68 |
# Launch the app
|
| 69 |
app.launch()
|
| 70 |
|