Spaces:
Build error
Build error
Commit
·
500c811
1
Parent(s):
3b6b22e
minor fixes
Browse files
app.py
CHANGED
|
@@ -37,8 +37,8 @@ with demo:
|
|
| 37 |
label="Upload from disk",
|
| 38 |
)
|
| 39 |
upload_button = gr.Button("Upload")
|
| 40 |
-
uploaded_output = (
|
| 41 |
-
|
| 42 |
)
|
| 43 |
|
| 44 |
with gr.TabItem("Record from microphone"):
|
|
@@ -48,8 +48,8 @@ with demo:
|
|
| 48 |
optional=False,
|
| 49 |
label="Record from microphone",
|
| 50 |
)
|
| 51 |
-
recorded_output = (
|
| 52 |
-
|
| 53 |
)
|
| 54 |
|
| 55 |
record_button = gr.Button("Record")
|
|
|
|
| 37 |
label="Upload from disk",
|
| 38 |
)
|
| 39 |
upload_button = gr.Button("Upload")
|
| 40 |
+
uploaded_output = gr.outputs.Textbox(
|
| 41 |
+
label="Recognized speech for uploaded file"
|
| 42 |
)
|
| 43 |
|
| 44 |
with gr.TabItem("Record from microphone"):
|
|
|
|
| 48 |
optional=False,
|
| 49 |
label="Record from microphone",
|
| 50 |
)
|
| 51 |
+
recorded_output = gr.outputs.Textbox(
|
| 52 |
+
label="Recognized speech for recordings"
|
| 53 |
)
|
| 54 |
|
| 55 |
record_button = gr.Button("Record")
|