Spaces:
Paused
Paused
| 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() | |