yangwang825 commited on
Commit
6415a1e
1 Parent(s): f56951b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -106,8 +106,8 @@ def launch_gradio_widget(metric):
106
 
107
  def compute(summary, document):
108
  data = {
109
- "summaries": [summary],
110
- "documents":[document]
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))