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