AI-Edify commited on
Commit
1965a2d
·
verified ·
1 Parent(s): f946ea4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -68,7 +68,7 @@ def practice_pronunciation(audio):
68
  demo = gr.Interface(
69
  fn=practice_pronunciation,
70
  inputs=[
71
- gr.Audio(source="microphone", type="filepath")
72
  ],
73
  outputs=[
74
  gr.Textbox(label="Text to Read"),
 
68
  demo = gr.Interface(
69
  fn=practice_pronunciation,
70
  inputs=[
71
+ gr.Audio(type="filepath") # Removed 'source="microphone"'
72
  ],
73
  outputs=[
74
  gr.Textbox(label="Text to Read"),