KevinGeng commited on
Commit
11a6db4
1 Parent(s): d2bd47f

Naturalness 1-5

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -100,8 +100,8 @@ iface = gr.Interface(
100
  fn=calc_mos,
101
  inputs=[gr.Audio(type='filepath', label="Audio to evaluate"),
102
  gr.Textbox(placeholder="Input reference here (Don't keep this empty)", label="Reference")],
103
- outputs=[gr.Textbox(placeholder="Naturalness Score, ranged from 0 to 5, the higher the better.", label="Naturalness Score, ranged from 0 to 5, the higher the better.", visible=False),
104
- gr.Plot(label="Naturalness Score, ranged from 0 to 5, the higher the better.", show_label=True, container=True),
105
  gr.Textbox(placeholder="Intelligibility Score", label = "Intelligibility Score, range from 0 to 100, the higher the better", visible=False),
106
  gr.Plot(label="Intelligibility Score, range from 0 to 100, the higher the better", show_label=True, container=True),
107
  gr.Textbox(placeholder="Hypothesis", label="Hypothesis"),
 
100
  fn=calc_mos,
101
  inputs=[gr.Audio(type='filepath', label="Audio to evaluate"),
102
  gr.Textbox(placeholder="Input reference here (Don't keep this empty)", label="Reference")],
103
+ outputs=[gr.Textbox(placeholder="Naturalness Score, ranged from 1 to 5, the higher the better.", label="Naturalness Score, ranged from 0 to 5, the higher the better.", visible=False),
104
+ gr.Plot(label="Naturalness Score, ranged from 1 to 5, the higher the better.", show_label=True, container=True),
105
  gr.Textbox(placeholder="Intelligibility Score", label = "Intelligibility Score, range from 0 to 100, the higher the better", visible=False),
106
  gr.Plot(label="Intelligibility Score, range from 0 to 100, the higher the better", show_label=True, container=True),
107
  gr.Textbox(placeholder="Hypothesis", label="Hypothesis"),