Commit
·
d885ec7
1
Parent(s):
6e2b473
small fixes
Browse files
app.py
CHANGED
|
@@ -145,8 +145,6 @@ with demo:
|
|
| 145 |
show_share_button=True,
|
| 146 |
)
|
| 147 |
upload_button = gr.Button("Submit for recognition")
|
| 148 |
-
uploaded_output = gr.Textbox(label="Recognized speech from uploaded file")
|
| 149 |
-
uploaded_html_info = gr.HTML(label="Info")
|
| 150 |
|
| 151 |
upload_button.click(
|
| 152 |
process_uploaded_file,
|
|
@@ -158,8 +156,8 @@ with demo:
|
|
| 158 |
outputs=[
|
| 159 |
gr.Video(label="Output"),
|
| 160 |
gr.File(label="Generated subtitles", show_label=True),
|
| 161 |
-
|
| 162 |
-
|
| 163 |
],
|
| 164 |
)
|
| 165 |
|
|
|
|
| 145 |
show_share_button=True,
|
| 146 |
)
|
| 147 |
upload_button = gr.Button("Submit for recognition")
|
|
|
|
|
|
|
| 148 |
|
| 149 |
upload_button.click(
|
| 150 |
process_uploaded_file,
|
|
|
|
| 156 |
outputs=[
|
| 157 |
gr.Video(label="Output"),
|
| 158 |
gr.File(label="Generated subtitles", show_label=True),
|
| 159 |
+
gr.Textbox(label="Recognized speech from uploaded file"),
|
| 160 |
+
gr.HTML(label="Info"),
|
| 161 |
],
|
| 162 |
)
|
| 163 |
|