Commit 255ab60 1 parent 4e7b1b4 commit 255ab60 Copy full SHA for 255ab60
File tree 1 file changed +9
-1
lines changed
1 file changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -22,10 +22,18 @@ for pattern in \
22
22
"s|absl-py|absl-py>=2.1.0|g" \
23
23
"s|protobuf==3.20.3|protobuf>=3.19.0|g" \
24
24
"s|tensorflow-datasets|tensorflow-datasets>=4.8.0|g" \
25
+ "s|sentencepiece==0.1.97|sentencepiece>=0.2|g" \
25
26
; do
26
27
sed -i "${pattern}" ${SRC_PATH_MAXTEXT}/requirements.txt;
27
28
done
28
- echo -e "\ntensorflow-metadata>=1.15.0" >> ${SRC_PATH_MAXTEXT}/requirements.txt
29
+ # add new line in case requirements.txt does not end with a new line
30
+ echo >> ${SRC_PATH_MAXTEXT}/requirements.txt
31
+ for requirement in \
32
+ "tensorflow-metadata>=1.15.0" \
33
+ "seqio@git+https://github.com/google/seqio.git" \
34
+ ; do
35
+ echo "${requirement}" >> ${SRC_PATH_MAXTEXT}/requirements.txt
36
+ done
29
37
EOF
30
38
31
39
###############################################################################
You can’t perform that action at this time.
0 commit comments