Spaces:
Paused
Paused
Andrew Smith
commited on
Commit
·
10e72cb
1
Parent(s):
89c705a
Install torch with pip
Browse files- Dockerfile +1 -1
- poetry.lock +1 -1
- pyproject.toml +0 -1
Dockerfile
CHANGED
|
@@ -1,7 +1,7 @@
|
|
| 1 |
# The builder image, used to build the virtual environment
|
| 2 |
FROM python:3.11-buster as builder
|
| 3 |
|
| 4 |
-
RUN pip install poetry==1.4.2
|
| 5 |
|
| 6 |
ENV POETRY_NO_INTERACTION=1 \
|
| 7 |
POETRY_VIRTUALENVS_IN_PROJECT=1 \
|
|
|
|
| 1 |
# The builder image, used to build the virtual environment
|
| 2 |
FROM python:3.11-buster as builder
|
| 3 |
|
| 4 |
+
RUN pip install poetry==1.4.2 torch
|
| 5 |
|
| 6 |
ENV POETRY_NO_INTERACTION=1 \
|
| 7 |
POETRY_VIRTUALENVS_IN_PROJECT=1 \
|
poetry.lock
CHANGED
|
@@ -1795,4 +1795,4 @@ files = [
|
|
| 1795 |
[metadata]
|
| 1796 |
lock-version = "2.0"
|
| 1797 |
python-versions = "^3.10"
|
| 1798 |
-
content-hash = "
|
|
|
|
| 1795 |
[metadata]
|
| 1796 |
lock-version = "2.0"
|
| 1797 |
python-versions = "^3.10"
|
| 1798 |
+
content-hash = "ed79e9f0742e351170fba0150bc7a338e14fcd1a04911bf57a4bdb1de9729146"
|
pyproject.toml
CHANGED
|
@@ -12,7 +12,6 @@ vecs = "^0.2.6"
|
|
| 12 |
sentence-transformers = "^2.2.2"
|
| 13 |
fastapi = "^0.99.1"
|
| 14 |
uvicorn = {extras = ["standard"], version = "^0.22.0"}
|
| 15 |
-
torch = "^2.0.1"
|
| 16 |
|
| 17 |
[tool.poetry.scripts]
|
| 18 |
start = "image_search.main:start"
|
|
|
|
| 12 |
sentence-transformers = "^2.2.2"
|
| 13 |
fastapi = "^0.99.1"
|
| 14 |
uvicorn = {extras = ["standard"], version = "^0.22.0"}
|
|
|
|
| 15 |
|
| 16 |
[tool.poetry.scripts]
|
| 17 |
start = "image_search.main:start"
|