danieldux commited on
Commit
001a481
1 Parent(s): ceef71a

Update examples to use parse_test_cases

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -55,7 +55,7 @@ def launch_gradio_widget(metric, test_cases):
55
  ),
56
  title=f"Metric: {metric.name}",
57
  article=parse_readme(local_path / "README.md"),
58
- examples=[parse_gradio_data(tc, gradio_input_types) for tc in test_cases],
59
  )
60
 
61
  iface.launch()
 
55
  ),
56
  title=f"Metric: {metric.name}",
57
  article=parse_readme(local_path / "README.md"),
58
+ examples=[parse_test_cases(tc, gradio_input_types) for tc in test_cases],
59
  )
60
 
61
  iface.launch()