Spaces:
Runtime error
Runtime error
Updating labels for Gradio components
Browse files
app.py
CHANGED
@@ -306,18 +306,18 @@ state = {}
|
|
306 |
interface = gr.Interface(
|
307 |
fn=gradio_fn,
|
308 |
inputs=[gr.components.Textbox(
|
309 |
-
label="Text",
|
310 |
lines = 6),
|
311 |
gr.components.Audio(
|
312 |
label="Speech Translation",
|
313 |
source="microphone",
|
314 |
type="filepath"),
|
315 |
gr.components.Textbox(
|
316 |
-
label="Target Text to Recite",
|
317 |
placeholder="How much wood would a woodchuck chuck if a woodchuck could chuck wood?"
|
318 |
),
|
319 |
gr.components.Audio(
|
320 |
-
label="Read Text Above for Score",
|
321 |
source="microphone",
|
322 |
type="filepath")
|
323 |
],
|
|
|
306 |
interface = gr.Interface(
|
307 |
fn=gradio_fn,
|
308 |
inputs=[gr.components.Textbox(
|
309 |
+
label="Text Difficulty Scoring",
|
310 |
lines = 6),
|
311 |
gr.components.Audio(
|
312 |
label="Speech Translation",
|
313 |
source="microphone",
|
314 |
type="filepath"),
|
315 |
gr.components.Textbox(
|
316 |
+
label="Type Your Target Text to Recite",
|
317 |
placeholder="How much wood would a woodchuck chuck if a woodchuck could chuck wood?"
|
318 |
),
|
319 |
gr.components.Audio(
|
320 |
+
label="Read Text Typed Above for Pronunciation Score",
|
321 |
source="microphone",
|
322 |
type="filepath")
|
323 |
],
|