KevinGeng commited on
Commit
0b2996a
1 Parent(s): 07d5e67

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -88,7 +88,7 @@ Add WER interface.
88
 
89
  iface = gr.Interface(
90
  fn=calc_mos,
91
- inputs=[gr.Audio(type='filepath', label="Audio to evaluate"),
92
  gr.Textbox(placeholder="Input reference here (Don't keep this empty)", label="Reference")],
93
  outputs=[gr.Textbox(placeholder="Naturalness evaluation, ranged 1 to 5, the higher the better.", label="Predicted MOS"),
94
  gr.Textbox(placeholder="Hypothesis", label="Hypothesis"),
 
88
 
89
  iface = gr.Interface(
90
  fn=calc_mos,
91
+ inputs=[gr.Audio(type='microphone', label="Audio to evaluate"),
92
  gr.Textbox(placeholder="Input reference here (Don't keep this empty)", label="Reference")],
93
  outputs=[gr.Textbox(placeholder="Naturalness evaluation, ranged 1 to 5, the higher the better.", label="Predicted MOS"),
94
  gr.Textbox(placeholder="Hypothesis", label="Hypothesis"),