Spaces:
Sleeping
Sleeping
Update entrypoint.sh
Browse files- entrypoint.sh +4 -0
entrypoint.sh
CHANGED
@@ -16,5 +16,9 @@ for m in "${MODELS[@]}"; do
|
|
16 |
# No need to sleep here unless you want to give some delay between each pull for some reason
|
17 |
done
|
18 |
|
|
|
|
|
|
|
|
|
19 |
# Keep the script running to prevent the container from exiting
|
20 |
wait
|
|
|
16 |
# No need to sleep here unless you want to give some delay between each pull for some reason
|
17 |
done
|
18 |
|
19 |
+
# Start the app
|
20 |
+
echo "Starting app.py"
|
21 |
+
python app.py &
|
22 |
+
|
23 |
# Keep the script running to prevent the container from exiting
|
24 |
wait
|