Spaces:
Running
Running
jhj0517
commited on
Commit
·
1baba5f
1
Parent(s):
bacd78f
add temporal fix
Browse files- Dockerfile +1 -0
- Install.bat +1 -0
- Install.sh +1 -0
Dockerfile
CHANGED
@@ -12,6 +12,7 @@ COPY requirements.txt .
|
|
12 |
RUN python3 -m venv venv && \
|
13 |
. venv/bin/activate && \
|
14 |
pip install --no-cache-dir -r requirements.txt
|
|
|
15 |
|
16 |
|
17 |
FROM debian:bookworm-slim AS runtime
|
|
|
12 |
RUN python3 -m venv venv && \
|
13 |
. venv/bin/activate && \
|
14 |
pip install --no-cache-dir -r requirements.txt
|
15 |
+
pip install tokenizers==0.19.1
|
16 |
|
17 |
|
18 |
FROM debian:bookworm-slim AS runtime
|
Install.bat
CHANGED
@@ -11,6 +11,7 @@ call activate.bat
|
|
11 |
|
12 |
cd /d "%~dp0"
|
13 |
pip install -r requirements.txt
|
|
|
14 |
|
15 |
if errorlevel 1 (
|
16 |
echo.
|
|
|
11 |
|
12 |
cd /d "%~dp0"
|
13 |
pip install -r requirements.txt
|
14 |
+
pip install tokenizers==0.19.1
|
15 |
|
16 |
if errorlevel 1 (
|
17 |
echo.
|
Install.sh
CHANGED
@@ -13,5 +13,6 @@ pip install -r requirements.txt && echo "Requirements installed successfully." |
|
|
13 |
deactivate
|
14 |
exit 1
|
15 |
}
|
|
|
16 |
|
17 |
deactivate
|
|
|
13 |
deactivate
|
14 |
exit 1
|
15 |
}
|
16 |
+
pip install tokenizers==0.19.1
|
17 |
|
18 |
deactivate
|