Spaces:
Runtime error
Runtime error
Commit
·
2b0598a
1
Parent(s):
88eac01
oops
Browse files- entrypoint.sh.template +2 -2
entrypoint.sh.template
CHANGED
|
@@ -5,8 +5,8 @@ mkdir -p /data/db
|
|
| 5 |
# If app crashed, mongo didn't stop gracefully. Remove all the old *.lock files
|
| 6 |
find /data/db -name "*.lock" -type f -exec rm -f {} \;
|
| 7 |
# Start the local Mongo database
|
| 8 |
-
|
| 9 |
-
pip install sentencepiece
|
| 10 |
# Start the text-generation-inference process
|
| 11 |
text-generation-launcher --model-id ${MODEL_NAME} --num-shard 1 --port 8080 --trust-remote-code &
|
| 12 |
|
|
|
|
| 5 |
# If app crashed, mongo didn't stop gracefully. Remove all the old *.lock files
|
| 6 |
find /data/db -name "*.lock" -type f -exec rm -f {} \;
|
| 7 |
# Start the local Mongo database
|
| 8 |
+
mongod &
|
| 9 |
+
#pip install sentencepiece
|
| 10 |
# Start the text-generation-inference process
|
| 11 |
text-generation-launcher --model-id ${MODEL_NAME} --num-shard 1 --port 8080 --trust-remote-code &
|
| 12 |
|