Spaces:
Build error
Build error
Victoria Oberascher
commited on
Commit
·
89c8913
1
Parent(s):
f64a251
update app
Browse files
app.py
CHANGED
@@ -43,6 +43,7 @@ def launch_gradio_widget(metric):
|
|
43 |
def compute(data):
|
44 |
print(data)
|
45 |
|
|
|
46 |
return metric.compute(
|
47 |
) ##**parse_gradio_data(data, gradio_input_types)
|
48 |
|
|
|
43 |
def compute(data):
|
44 |
print(data)
|
45 |
|
46 |
+
metric.add(predictions=data[0], references=data[1])
|
47 |
return metric.compute(
|
48 |
) ##**parse_gradio_data(data, gradio_input_types)
|
49 |
|