sacrebleu / app.py
lvwerra's picture
lvwerra HF staff
Update Space (evaluate main: 706e08bb)
fb3b4a5
raw
history blame contribute delete
243 Bytes
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)