Spaces:
Sleeping
Sleeping
Commit
·
6c6b62c
1
Parent(s):
95512c4
Update app.py
Browse files
app.py
CHANGED
|
@@ -13,7 +13,7 @@ description = '''A simple application to quickly calculate the Word Error Rate (
|
|
| 13 |
# Define the input and output interfaces
|
| 14 |
input_reference = gr.Textbox(lines=2, label="Input Reference Text")
|
| 15 |
input_hypothesis = gr.Textbox(lines=2, label="Input Hypothesis Text")
|
| 16 |
-
output_wer = gr.
|
| 17 |
|
| 18 |
iface = gr.Interface(
|
| 19 |
fn = word_error_rate,
|
|
|
|
| 13 |
# Define the input and output interfaces
|
| 14 |
input_reference = gr.Textbox(lines=2, label="Input Reference Text")
|
| 15 |
input_hypothesis = gr.Textbox(lines=2, label="Input Hypothesis Text")
|
| 16 |
+
output_wer = gr.Number(label="Word Error Rate")
|
| 17 |
|
| 18 |
iface = gr.Interface(
|
| 19 |
fn = word_error_rate,
|