Update app.py
Browse files
app.py
CHANGED
@@ -88,7 +88,7 @@ Add WER interface.
|
|
88 |
|
89 |
iface = gr.Interface(
|
90 |
fn=calc_mos,
|
91 |
-
inputs=[gr.Audio(type='
|
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"),
|