orpatashnik commited on
Commit
5b3ae43
Β·
1 Parent(s): 512a63b
Files changed (2) hide show
  1. Dockerfile +3 -4
  2. README.md +4 -4
Dockerfile CHANGED
@@ -10,6 +10,9 @@ RUN git clone https://github.com/davisking/dlib.git . \
10
  && cmake .. -DDLIB_USE_CUDA=1 \
11
  && cmake --build . --config Release
12
 
 
 
 
13
 
14
  # Choose a writable directory, e.g., /home/user/huggingface
15
  RUN mkdir -p /home/user/huggingface
@@ -20,10 +23,6 @@ ENV HF_HOME=/home/user/huggingface \
20
  HF_HUB_CACHE=/home/user/huggingface/hub \
21
  TRANSFORMERS_CACHE=/home/user/huggingface/hub
22
 
23
- # install via pip so dependencies like wheel are used
24
- RUN pip install --upgrade pip wheel cmake setuptools && \
25
- cd /dlib && python3 setup.py install
26
-
27
  WORKDIR /app
28
  COPY requirements.txt .
29
  RUN pip install -r requirements.txt
 
10
  && cmake .. -DDLIB_USE_CUDA=1 \
11
  && cmake --build . --config Release
12
 
13
+ # install via pip so dependencies like wheel are used
14
+ RUN pip install --upgrade pip wheel cmake setuptools && \
15
+ cd /dlib && python3 setup.py install
16
 
17
  # Choose a writable directory, e.g., /home/user/huggingface
18
  RUN mkdir -p /home/user/huggingface
 
23
  HF_HUB_CACHE=/home/user/huggingface/hub \
24
  TRANSFORMERS_CACHE=/home/user/huggingface/hub
25
 
 
 
 
 
26
  WORKDIR /app
27
  COPY requirements.txt .
28
  RUN pip install -r requirements.txt
README.md CHANGED
@@ -3,10 +3,10 @@ title: "Nested Attention: Semantic-aware Attention Values for Concept Personaliz
3
  emoji: πŸš€
4
  colorFrom: indigo
5
  colorTo: pink
6
- sdk: gradio
7
- app_file: app.py
8
- # sdk: docker
9
- # app_port: 7860
10
  pinned: false
11
  ---
12
 
 
3
  emoji: πŸš€
4
  colorFrom: indigo
5
  colorTo: pink
6
+ # sdk: gradio
7
+ # app_file: app.py
8
+ sdk: docker
9
+ app_port: 7860
10
  pinned: false
11
  ---
12