Spaces:
Build error
Build error
Update examples to use parse_test_cases
Browse files
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=[
|
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()
|