Spaces:
Paused
Paused
Download app.py from gfdggadg/LentaVideoAnalyzer: direct link, hf CLI and curl.
- Browser
- Download file 362 Bytes
-
https://huggingface.co/spaces/gfdggadg/LentaVideoAnalyzer/resolve/main/app.py
- Command line
-
hf download hf://spaces/gfdggadg/LentaVideoAnalyzer/app.py
-
curl -L -o app.py https://huggingface.co/spaces/gfdggadg/LentaVideoAnalyzer/resolve/main/app.py
362 Bytes
| from __future__ import annotations | |
| import sys | |
| from pathlib import Path | |
| PROJECT_DIR = Path(__file__).resolve().parent / "CV-Lenta-product-main" | |
| SRC_DIR = PROJECT_DIR / "src" | |
| if SRC_DIR.as_posix() not in sys.path: | |
| sys.path.insert(0, SRC_DIR.as_posix()) | |
| from lenta_price_tags.ui.gradio_app import demo | |
| if __name__ == "__main__": | |
| demo.queue().launch() | |