Victoria Oberascher commited on
Commit
1a31127
·
1 Parent(s): 89c8913

update app

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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[0], references=data[1])
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