csukuangfj
commited on
Commit
•
50a2c12
1
Parent(s):
da1064b
fix texts
Browse files
app.py
CHANGED
@@ -211,7 +211,7 @@ with demo:
|
|
211 |
label="Upload from disk",
|
212 |
)
|
213 |
upload_button = gr.Button("Submit for recognition")
|
214 |
-
uploaded_output = gr.Textbox(label="
|
215 |
uploaded_html_info = gr.HTML(label="Info")
|
216 |
|
217 |
gr.Examples(
|
@@ -232,7 +232,7 @@ with demo:
|
|
232 |
)
|
233 |
|
234 |
record_button = gr.Button("Submit for recognition")
|
235 |
-
recorded_output = gr.Textbox(label="
|
236 |
recorded_html_info = gr.HTML(label="Info")
|
237 |
|
238 |
gr.Examples(
|
@@ -254,7 +254,7 @@ with demo:
|
|
254 |
)
|
255 |
|
256 |
url_button = gr.Button("Submit for recognition")
|
257 |
-
url_output = gr.Textbox(label="
|
258 |
url_html_info = gr.HTML(label="Info")
|
259 |
|
260 |
upload_button.click(
|
|
|
211 |
label="Upload from disk",
|
212 |
)
|
213 |
upload_button = gr.Button("Submit for recognition")
|
214 |
+
uploaded_output = gr.Textbox(label="Detected language from uploaded file")
|
215 |
uploaded_html_info = gr.HTML(label="Info")
|
216 |
|
217 |
gr.Examples(
|
|
|
232 |
)
|
233 |
|
234 |
record_button = gr.Button("Submit for recognition")
|
235 |
+
recorded_output = gr.Textbox(label="Detected language from recordings")
|
236 |
recorded_html_info = gr.HTML(label="Info")
|
237 |
|
238 |
gr.Examples(
|
|
|
254 |
)
|
255 |
|
256 |
url_button = gr.Button("Submit for recognition")
|
257 |
+
url_output = gr.Textbox(label="Detected language from URL")
|
258 |
url_html_info = gr.HTML(label="Info")
|
259 |
|
260 |
upload_button.click(
|