Update module to isco_hierarchical_accuracy
Browse files
app.py
CHANGED
|
@@ -50,7 +50,7 @@ def launch_gradio_widget(metric, test_cases):
|
|
| 50 |
outputs=gr.outputs.Textbox(label=metric.name),
|
| 51 |
description=(
|
| 52 |
metric.info.description
|
| 53 |
-
|
| 54 |
# " Alternatively you can use a JSON-formatted list as input."
|
| 55 |
),
|
| 56 |
title=f"Metric: {metric.name}",
|
|
@@ -61,6 +61,6 @@ def launch_gradio_widget(metric, test_cases):
|
|
| 61 |
iface.launch()
|
| 62 |
|
| 63 |
|
| 64 |
-
module = evaluate.load("danieldux/
|
| 65 |
|
| 66 |
launch_gradio_widget(module, test_cases)
|
|
|
|
| 50 |
outputs=gr.outputs.Textbox(label=metric.name),
|
| 51 |
description=(
|
| 52 |
metric.info.description
|
| 53 |
+
+ "\nISCO codes must be wrapped in double quotes."
|
| 54 |
# " Alternatively you can use a JSON-formatted list as input."
|
| 55 |
),
|
| 56 |
title=f"Metric: {metric.name}",
|
|
|
|
| 61 |
iface.launch()
|
| 62 |
|
| 63 |
|
| 64 |
+
module = evaluate.load("danieldux/isco_hierarchical_accuracy")
|
| 65 |
|
| 66 |
launch_gradio_widget(module, test_cases)
|