Spaces:
Running on Zero
Running on Zero
| from __future__ import annotations | |
| import sys | |
| from pathlib import Path | |
| ROOT = Path(__file__).resolve().parent | |
| SRC = ROOT / "src" | |
| if str(SRC) not in sys.path: | |
| sys.path.insert(0, str(SRC)) | |
| from qwen_image_edit_lite.webui import build_head, create_app | |
| demo = create_app(str(ROOT / "config.ini")).queue(default_concurrency_limit=1, max_size=8) | |
| if __name__ == "__main__": | |
| demo.launch(head=build_head(), ssr_mode=False) | |