aikitty commited on
Commit
3d3b3f0
·
verified ·
1 Parent(s): 444cc49

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -42,7 +42,7 @@ def assess_pronunciation(audio_file):
42
  # Create Gradio interface
43
  interface = gr.Interface(
44
  fn=assess_pronunciation,
45
- inputs=gr.Audio(source="upload", type="filepath"),
46
  outputs="json",
47
  title="Chinese Pronunciation Checker"
48
  )
 
42
  # Create Gradio interface
43
  interface = gr.Interface(
44
  fn=assess_pronunciation,
45
+ inputs=gr.Audio(type="filepath"), # Corrected input
46
  outputs="json",
47
  title="Chinese Pronunciation Checker"
48
  )