Spaces:
Runtime error
Runtime error
Download app.py from reforse/table-comparator: direct link, hf CLI and curl.
- Browser
- Download file 451 Bytes
-
https://huggingface.co/spaces/reforse/table-comparator/resolve/main/app.py
- Command line
-
hf download hf://spaces/reforse/table-comparator/app.py
-
curl -L -o app.py https://huggingface.co/spaces/reforse/table-comparator/resolve/main/app.py
451 Bytes
| """Root entry-point for Hugging Face Spaces (and plain ``streamlit run app.py``). | |
| Hugging Face expects the Streamlit app at ``app.py`` in the repo root. | |
| The real implementation lives in ``src/table_comparator/app.py``; this file | |
| just adds ``src/`` to the import path and delegates. | |
| """ | |
| import sys | |
| from pathlib import Path | |
| sys.path.insert(0, str(Path(__file__).resolve().parent / "src")) | |
| from table_comparator.app import main # noqa: E402 | |
| main() | |