File size: 215 Bytes
a84678a
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
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)