File tree 2 files changed +13
-3
lines changed
2 files changed +13
-3
lines changed Original file line number Diff line number Diff line change @@ -55,6 +55,8 @@ WORKDIR /app
55
55
# Install Python package (assuming it has a setup.py)
56
56
RUN pip3 install --no-cache-dir -e .
57
57
58
+ RUN pip install transformers==4.41.2
59
+
58
60
# Set environment variables
59
61
ENV CHROME_BIN=/usr/bin/google-chrome \
60
62
CHROMEDRIVER=/usr/local/bin/chromedriver \
Original file line number Diff line number Diff line change 71
71
"outputs" : [],
72
72
"source" : [
73
73
" ## Install dependencies\n " ,
74
- " \n " ,
75
74
" %pip install -e ."
76
75
]
77
76
},
77
+ {
78
+ "cell_type" : " code" ,
79
+ "execution_count" : null ,
80
+ "metadata" : {},
81
+ "outputs" : [],
82
+ "source" : [
83
+ " %pip install transformers==4.41.2"
84
+ ]
85
+ },
78
86
{
79
87
"cell_type" : " code" ,
80
88
"execution_count" : null ,
115
123
" \n " ,
116
124
" # Download and install ChromeDriver\n " ,
117
125
" !CHROMEDRIVER_VERSION=$(curl -sS chromedriver.storage.googleapis.com/LATEST_RELEASE) && \\\n " ,
118
- " wget -N https://chromedriver.storage.googleapis.com/$CHROMEDRIVER_VERSION/chromedriver_linux64.zip -P /tmp && \\\n " ,
119
- " unzip /tmp/chromedriver_linux64.zip -d /tmp && \\\n " ,
126
+ " wget -q - N https://chromedriver.storage.googleapis.com/$CHROMEDRIVER_VERSION/chromedriver_linux64.zip -P /tmp && \\\n " ,
127
+ " unzip -o /tmp/chromedriver_linux64.zip -d /tmp && \\\n " ,
120
128
" mv /tmp/chromedriver /usr/local/bin/chromedriver && \\\n " ,
121
129
" chmod +x /usr/local/bin/chromedriver && \\\n " ,
122
130
" rm /tmp/chromedriver_linux64.zip\n " ,
You can’t perform that action at this time.
0 commit comments