File size: 243 Bytes
fb3b4a5
 
87bf795
 
 
e1ee4dd
fb3b4a5
f654f5a
fb3b4a5
 
4d5e8f8
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("sacrebleu")
sys.path = ["/home/user/app"] + sys.path

launch_gradio_widget(module)