Spaces:
Runtime error
Runtime error
import evaluate | |
from evaluate.utils import launch_gradio_widget | |
# Define the path to your custom metric directory | |
metric_path = "./custom_metric" | |
module = evaluate.load(metric_path) | |
launch_gradio_widget(module) | |