File size: 255 Bytes
6a9e2ff
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
import sys

import evaluate
from evaluate.utils import launch_gradio_widget


sys.path = [p for p in sys.path if p != "/home/user/app"]
module = evaluate.load("dannashao/span_metric")
sys.path = ["/home/user/app"] + sys.path

launch_gradio_widget(module)