Spaces:
Sleeping
Sleeping
yangwang825
commited on
Commit
•
6415a1e
1
Parent(s):
f56951b
Update app.py
Browse files
app.py
CHANGED
@@ -106,8 +106,8 @@ def launch_gradio_widget(metric):
|
|
106 |
|
107 |
def compute(summary, document):
|
108 |
data = {
|
109 |
-
"
|
110 |
-
"
|
111 |
}
|
112 |
return metric.compute(**data)
|
113 |
# return metric.compute(**parse_gradio_data(data, gradio_input_types))
|
|
|
106 |
|
107 |
def compute(summary, document):
|
108 |
data = {
|
109 |
+
"predictions": [summary],
|
110 |
+
"references":[document]
|
111 |
}
|
112 |
return metric.compute(**data)
|
113 |
# return metric.compute(**parse_gradio_data(data, gradio_input_types))
|