A newer version of the Gradio SDK is available:
6.6.0
metadata
title: Code Bleu
emoji: 💻
colorFrom: purple
colorTo: yellow
sdk: gradio
sdk_version: 4.26.0
app_file: app.py
pinned: false
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
Create a new evaluation module in HuggingFace space
Use the evaluate-cli to create a new module
evaluate-cli create "Metric name" --module_type "metric"
This will create a new space on the HuggingFace hub. You can then clone the space locally and add the code for the computation of the metric.
More information on: https://huggingface.co/docs/evaluate/main/en/creating_and_sharing#requirements