Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -67,13 +67,13 @@ def analyze_audio(text, audio):
|
|
67 |
# Define the Gradio interface
|
68 |
iface = gr.Interface(fn=analyze_audio,
|
69 |
inputs=[gr.Textbox(label='Training Text', placeholder='Write the text for pronunciation task', interactive=True, visible=True, show_copy_button=True,),
|
70 |
-
gr.Audio(label="
|
71 |
],
|
72 |
outputs=[gr.HTML(label="Analysis of pronunciation"),
|
73 |
],
|
74 |
# css=additional_css,
|
75 |
# title="Audio Analysis Tool",
|
76 |
-
description="
|
77 |
)
|
78 |
|
79 |
# Run the Gradio app
|
|
|
67 |
# Define the Gradio interface
|
68 |
iface = gr.Interface(fn=analyze_audio,
|
69 |
inputs=[gr.Textbox(label='Training Text', placeholder='Write the text for pronunciation task', interactive=True, visible=True, show_copy_button=True,),
|
70 |
+
gr.Audio(label="Recoreded Audio")
|
71 |
],
|
72 |
outputs=[gr.HTML(label="Analysis of pronunciation"),
|
73 |
],
|
74 |
# css=additional_css,
|
75 |
# title="Audio Analysis Tool",
|
76 |
+
description="Write any text and recored an audio to predict pronunciation erors"
|
77 |
)
|
78 |
|
79 |
# Run the Gradio app
|