Spaces:
Runtime error
Runtime error
Download evaluate/metrics/seqeval/app.py from XS5217/text-classification: direct link, hf CLI and curl.
- Browser
- Download file 241 Bytes
-
https://huggingface.co/spaces/XS5217/text-classification/resolve/main/evaluate/metrics/seqeval/app.py
- Command line
-
hf download hf://spaces/XS5217/text-classification/evaluate/metrics/seqeval/app.py
-
curl -L -o app.py https://huggingface.co/spaces/XS5217/text-classification/resolve/main/evaluate/metrics/seqeval/app.py
241 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("seqeval") | |
| sys.path = ["/home/user/app"] + sys.path | |
| launch_gradio_widget(module) | |