Spaces:
Running
Running
Jagrut Thakare
commited on
Commit
·
401bb19
1
Parent(s):
822276c
v12
Browse files- Dockerfile +3 -2
- requirements.txt +0 -16
Dockerfile
CHANGED
@@ -28,8 +28,9 @@ WORKDIR /home/user/app
|
|
28 |
# Copy files and install only Gradio
|
29 |
COPY --chown=user:user . /home/user/app
|
30 |
|
31 |
-
RUN pip install --user --no-cache-dir pydantic==2.8.2 gradio
|
32 |
-
RUN pip install --user --no-cache-dir -
|
|
|
33 |
|
34 |
COPY download_models.sh .
|
35 |
RUN chmod +x download_models.sh
|
|
|
28 |
# Copy files and install only Gradio
|
29 |
COPY --chown=user:user . /home/user/app
|
30 |
|
31 |
+
RUN pip install --user --no-cache-dir pydantic==2.8.2 gradio mxnet-cu112
|
32 |
+
RUN pip install --user --no-cache-dir torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu118
|
33 |
+
RUN pip install --user --no-cache-dir onnx onnxruntime-gpu==1.12 Cython insightface==0.2.1 kornia==0.5.4 dill opencv-python scikit-image requests==2.25.1 wandb
|
34 |
|
35 |
COPY download_models.sh .
|
36 |
RUN chmod +x download_models.sh
|
requirements.txt
CHANGED
@@ -1,16 +0,0 @@
|
|
1 |
-
torch
|
2 |
-
torchvision
|
3 |
-
torchaudio
|
4 |
-
--index-url https://download.pytorch.org/whl/cu118
|
5 |
-
mxnet-cu112
|
6 |
-
numpy
|
7 |
-
onnx
|
8 |
-
onnxruntime-gpu==1.12
|
9 |
-
Cython
|
10 |
-
insightface==0.2.1
|
11 |
-
kornia==0.5.4
|
12 |
-
dill
|
13 |
-
opencv-python
|
14 |
-
scikit-image
|
15 |
-
requests==2.25.1
|
16 |
-
wandb
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|