sacrebleu / app.py
sasha's picture
sasha HF Staff
Update app.py
e1ee4dd
raw
history blame
230 Bytes
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)