yangwang825 commited on
Commit
061400f
1 Parent(s): b84573a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -109,7 +109,7 @@ def launch_gradio_widget(metric):
109
  "predictions": [prediction],
110
  "references":[reference]
111
  }
112
- return metric.compute(data)
113
  # return metric.compute(**parse_gradio_data(data, gradio_input_types))
114
 
115
  iface = gr.Interface(
 
109
  "predictions": [prediction],
110
  "references":[reference]
111
  }
112
+ return metric.compute(**data)
113
  # return metric.compute(**parse_gradio_data(data, gradio_input_types))
114
 
115
  iface = gr.Interface(