Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -327,7 +327,7 @@ def audio_capture_interface():
|
|
| 327 |
file_upload = gr.File(label="Upload a text file", file_types=["text"])
|
| 328 |
text_display = gr.Textbox(label="Text", value="Please upload a file to begin.", interactive=False)
|
| 329 |
with gr.Row():
|
| 330 |
-
audio_input = gr.Audio(
|
| 331 |
with gr.Row():
|
| 332 |
status_output = gr.Textbox(label="Status", placeholder="Status will appear here")
|
| 333 |
with gr.Row():
|
|
|
|
| 327 |
file_upload = gr.File(label="Upload a text file", file_types=["text"])
|
| 328 |
text_display = gr.Textbox(label="Text", value="Please upload a file to begin.", interactive=False)
|
| 329 |
with gr.Row():
|
| 330 |
+
audio_input = gr.Audio(sources=["microphone","upload"], type="filepath", label="Speak and click submit")
|
| 331 |
with gr.Row():
|
| 332 |
status_output = gr.Textbox(label="Status", placeholder="Status will appear here")
|
| 333 |
with gr.Row():
|