radames commited on
Commit
0385f9c
1 Parent(s): 305770c

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -1
Dockerfile CHANGED
@@ -23,7 +23,8 @@ ENV HOME=/home/user \
23
  SYSTEM=spaces
24
 
25
  # download falcon-40b
26
- RUN transformers-cli download "tiiuae/falcon-40b"
 
27
 
28
  # Set the working directory to the user's home directory
29
  WORKDIR $HOME/app
 
23
  SYSTEM=spaces
24
 
25
  # download falcon-40b
26
+ RUN python -c "from transformers import AutoModel; AutoModel.from_pretrained('tiiuae/falcon-40b', trust_remote_code=True)"
27
+
28
 
29
  # Set the working directory to the user's home directory
30
  WORKDIR $HOME/app