seba3y commited on
Commit
91d2a90
1 Parent(s): 32b5423

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
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="Upload Audio")
71
  ],
72
  outputs=[gr.HTML(label="Analysis of pronunciation"),
73
  ],
74
  # css=additional_css,
75
  # title="Audio Analysis Tool",
76
- description="Upload an audio file to analyze pronunciation accuracy and speech fluency."
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