Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -68,7 +68,7 @@ def practice_pronunciation(audio):
|
|
| 68 |
demo = gr.Interface(
|
| 69 |
fn=practice_pronunciation,
|
| 70 |
inputs=[
|
| 71 |
-
gr.Audio(
|
| 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"),
|