From 70d85319658dad6ebf9cb7830ef21a364d4096c0 Mon Sep 17 00:00:00 2001 From: Furkan Akkurt <71407287+furkanakkurt1335@users.noreply.github.com> Date: Wed, 27 Dec 2023 23:41:55 +0300 Subject: [PATCH] Fix typos ; Update gradio.py --- src/evaluate/utils/gradio.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/evaluate/utils/gradio.py b/src/evaluate/utils/gradio.py index 3b73d9c67..9fe0c7333 100644 --- a/src/evaluate/utils/gradio.py +++ b/src/evaluate/utils/gradio.py @@ -119,8 +119,8 @@ def compute(data): ), outputs=gr.outputs.Textbox(label=metric.name), description=( - metric.info.description + "\nIf this is a text-based metric, make sure to wrap you input in double quotes." - " Alternatively you can use a JSON-formatted list as input." + metric.info.description + "\nIf this is a text-based metric, make sure to wrap your input in double quotes." + " Alternatively, you can use a JSON-formatted list as input." ), title=f"Metric: {metric.name}", article=parse_readme(local_path / "README.md"),