mac9087 commited on
Commit
07a89d2
·
verified ·
1 Parent(s): 2fecb4a

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -1
Dockerfile CHANGED
@@ -25,7 +25,9 @@ RUN apt-get update && apt-get install -y \
25
  && apt-get clean \
26
  && rm -rf /var/lib/apt/lists/*
27
 
28
- RUN git clone https://github.com/Stability-AI/stable-fast-3d.git /app/stable-fast-3d
 
 
29
 
30
  # Create necessary directories with appropriate permissions
31
  RUN mkdir -p /tmp/uploads /tmp/results /tmp/huggingface/transformers /tmp/huggingface/datasets \
 
25
  && apt-get clean \
26
  && rm -rf /var/lib/apt/lists/*
27
 
28
+ RUN for i in 1 2 3; do git clone https://github.com/Stability-AI/stable-fast-3d.git /app/stable-fast-3d && break || sleep 5; done
29
+
30
+ RUN sed -i 's/from uv_unwrapper import Unwrapper/from .uv_unwrapper import Unwrapper/' /app/stable-fast-3d/sf3d/models/mesh.py
31
 
32
  # Create necessary directories with appropriate permissions
33
  RUN mkdir -p /tmp/uploads /tmp/results /tmp/huggingface/transformers /tmp/huggingface/datasets \