Spaces:
Sleeping
Sleeping
zhongkaifu
commited on
Commit
·
a9874e9
1
Parent(s):
f4d18fb
Update Dockerfile
Browse files- Dockerfile +1 -3
Dockerfile
CHANGED
@@ -7,8 +7,6 @@ WORKDIR /code
|
|
7 |
|
8 |
COPY ./requirements.txt /code/requirements.txt
|
9 |
|
10 |
-
RUN wget https://github.com/zhongkaifu/Seq2SeqSharp/releases/download/RELEASE_2_5_0/ReleasePackage_20220505.zip.001
|
11 |
-
|
12 |
RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
|
13 |
|
14 |
RUN wget https://packages.microsoft.com/config/ubuntu/18.04/packages-microsoft-prod.deb -O packages-microsoft-prod.deb
|
@@ -46,7 +44,7 @@ RUN chmod 777 /code/bin
|
|
46 |
WORKDIR /code/bin
|
47 |
|
48 |
RUN cp -r /code/Seq2SeqSharp/Tools/SeqWebApps/bin/Release/net7.0/* .
|
49 |
-
RUN wget https://
|
50 |
RUN wget https://huggingface.co/zhongkaifu/mt_enu_chs/resolve/main/enuSpm.model
|
51 |
RUN wget https://huggingface.co/zhongkaifu/mt_enu_chs/resolve/main/cjkSpm.model
|
52 |
#RUN cp /code/mt_enu_chs/appsettings.json .
|
|
|
7 |
|
8 |
COPY ./requirements.txt /code/requirements.txt
|
9 |
|
|
|
|
|
10 |
RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
|
11 |
|
12 |
RUN wget https://packages.microsoft.com/config/ubuntu/18.04/packages-microsoft-prod.deb -O packages-microsoft-prod.deb
|
|
|
44 |
WORKDIR /code/bin
|
45 |
|
46 |
RUN cp -r /code/Seq2SeqSharp/Tools/SeqWebApps/bin/Release/net7.0/* .
|
47 |
+
RUN wget https://github.com/zhongkaifu/Models/releases/download/MT_ENU_CHS/mt_enu_chs.model
|
48 |
RUN wget https://huggingface.co/zhongkaifu/mt_enu_chs/resolve/main/enuSpm.model
|
49 |
RUN wget https://huggingface.co/zhongkaifu/mt_enu_chs/resolve/main/cjkSpm.model
|
50 |
#RUN cp /code/mt_enu_chs/appsettings.json .
|