MSGEncrypted commited on
Commit
9ec4d75
·
1 Parent(s): f173e0f
.dockerignore ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ .venv/
2
+ .git/
3
+ .cursor/
4
+ __pycache__/
5
+ *.py[cod]
6
+ .env
7
+ models/
8
+ *.gguf
9
+ .ruff_cache/
10
+ .pytest_cache/
11
+ *.egg-info/
12
+ dist/
13
+ build/
Dockerfile CHANGED
@@ -13,9 +13,9 @@ COPY --from=ghcr.io/astral-sh/uv:latest /uv /uvx /bin/
13
 
14
  WORKDIR /app
15
 
16
- COPY pyproject.toml uv.lock .python-version ./
17
- COPY apps/gradio-space/pyproject.toml apps/gradio-space/
18
- COPY libs/inference/pyproject.toml libs/inference/
19
  COPY apps/gradio-space/src apps/gradio-space/src
20
  COPY libs/inference/src libs/inference/src
21
 
 
13
 
14
  WORKDIR /app
15
 
16
+ COPY pyproject.toml uv.lock .python-version README.md ./
17
+ COPY apps/gradio-space/pyproject.toml apps/gradio-space/README.md apps/gradio-space/
18
+ COPY libs/inference/pyproject.toml libs/inference/README.md libs/inference/
19
  COPY apps/gradio-space/src apps/gradio-space/src
20
  COPY libs/inference/src libs/inference/src
21
 
apps/gradio-space/src/gradio_space/__init__.py CHANGED
@@ -1,3 +1,7 @@
1
- from gradio_space.app import build_demo, demo, main
2
 
3
- __all__ = ["build_demo", "demo", "main"]
 
 
 
 
 
1
+ __all__ = ["main"]
2
 
3
+
4
+ def main() -> None:
5
+ from gradio_space.app import main as _main
6
+
7
+ _main()
uv.lock ADDED
The diff for this file is too large to render. See raw diff