Spaces:
Sleeping
Sleeping
Fix gradio-image-prompter dependency (#7)
Browse files- Use gradio-image-prompter custom build instead of from pypi (839e8e3f70b6cddb85dc688b0de15ef08938c98b)
- Dockerfile +1 -0
- requirements.txt +1 -1
Dockerfile
CHANGED
|
@@ -38,6 +38,7 @@ ENV PATH="/opt/venv/bin:$PATH"
|
|
| 38 |
|
| 39 |
# Install any needed packages specified in requirements.txt
|
| 40 |
COPY requirements.txt .
|
|
|
|
| 41 |
RUN --mount=type=cache,id=pip,target=/root/.cache \
|
| 42 |
pip install -r requirements.txt
|
| 43 |
|
|
|
|
| 38 |
|
| 39 |
# Install any needed packages specified in requirements.txt
|
| 40 |
COPY requirements.txt .
|
| 41 |
+
COPY gradio_image_prompter-0.1.0-py3-none-any.whl .
|
| 42 |
RUN --mount=type=cache,id=pip,target=/root/.cache \
|
| 43 |
pip install -r requirements.txt
|
| 44 |
|
requirements.txt
CHANGED
|
@@ -10,7 +10,7 @@ colorlog
|
|
| 10 |
setuptools
|
| 11 |
ushlex
|
| 12 |
gradio>=4.0.0,<5
|
| 13 |
-
|
| 14 |
spaces
|
| 15 |
--extra-index-url https://download.pytorch.org/whl/cu121
|
| 16 |
torch<2.6
|
|
|
|
| 10 |
setuptools
|
| 11 |
ushlex
|
| 12 |
gradio>=4.0.0,<5
|
| 13 |
+
gradio_image_prompter-0.1.0-py3-none-any.whl
|
| 14 |
spaces
|
| 15 |
--extra-index-url https://download.pytorch.org/whl/cu121
|
| 16 |
torch<2.6
|