Tanusree88 commited on
Commit
71c4a3f
1 Parent(s): 4ce99a1

Update Docker

Browse files
Files changed (1) hide show
  1. Docker +2 -0
Docker CHANGED
@@ -26,6 +26,7 @@ RUN python -c "import transformers; print(transformers.__version__)"
26
  RUN python test_import.py
27
  RUN pip show transformers
28
  RUN python -c "from transformers import SegformerForImageSegmentation"
 
29
 
30
  # Install the required Python packages
31
  RUN pip install -r requirements.txt
@@ -33,6 +34,7 @@ RUN pip install --upgrade transformers # Upgrade transformers here
33
  # Check transformers version
34
  RUN python -c "import transformers; print(transformers.__version__)"
35
  RUN python test_import.py
 
36
 
37
  # Copy the rest of the application code to the working directory
38
  COPY . .
 
26
  RUN python test_import.py
27
  RUN pip show transformers
28
  RUN python -c "from transformers import SegformerForImageSegmentation"
29
+ RUN pip install torch
30
 
31
  # Install the required Python packages
32
  RUN pip install -r requirements.txt
 
34
  # Check transformers version
35
  RUN python -c "import transformers; print(transformers.__version__)"
36
  RUN python test_import.py
37
+ RUN pip install torch
38
 
39
  # Copy the rest of the application code to the working directory
40
  COPY . .