Spaces:
Runtime error
Runtime error
Update Space (evaluate main: 048278ae)
Browse files
app.py
CHANGED
@@ -1,8 +1,6 @@
|
|
1 |
import evaluate
|
2 |
from evaluate.utils import launch_gradio_widget
|
3 |
|
4 |
-
sys.path = [p for p in sys.path if p != "/home/user/app"]
|
5 |
-
module = evaluate.load("sacrebleu")
|
6 |
-
sys.path = ["/home/user/app"] + sys.path
|
7 |
|
|
|
8 |
launch_gradio_widget(module)
|
|
|
1 |
import evaluate
|
2 |
from evaluate.utils import launch_gradio_widget
|
3 |
|
|
|
|
|
|
|
4 |
|
5 |
+
module = evaluate.load("sacrebleu")
|
6 |
launch_gradio_widget(module)
|