Spaces:
Sleeping
Sleeping
yangwang825
commited on
Commit
•
1ef10ab
1
Parent(s):
9f891c4
Update app.py
Browse files
app.py
CHANGED
@@ -126,7 +126,7 @@ def launch_gradio_widget(metric):
|
|
126 |
# datatype=json_to_string_type(gradio_input_types),
|
127 |
# ),
|
128 |
outputs=gr.components.Textbox(label=metric.name),
|
129 |
-
description=
|
130 |
title=f"Metric: {metric.name}",
|
131 |
article=parse_readme(local_path / "README.md"),
|
132 |
# TODO: load test cases and use them to populate examples
|
|
|
126 |
# datatype=json_to_string_type(gradio_input_types),
|
127 |
# ),
|
128 |
outputs=gr.components.Textbox(label=metric.name),
|
129 |
+
description=metric.info.description,
|
130 |
title=f"Metric: {metric.name}",
|
131 |
article=parse_readme(local_path / "README.md"),
|
132 |
# TODO: load test cases and use them to populate examples
|