Commit
·
1233552
1
Parent(s):
2f6d9ae
hugging face redi bug fixed
Browse files- startup.sh +1 -16
startup.sh
CHANGED
|
@@ -1,19 +1,4 @@
|
|
| 1 |
-
|
| 2 |
-
|
| 3 |
-
# # Start the Redis server in the background
|
| 4 |
-
# redis-server --daemonize yes
|
| 5 |
-
|
| 6 |
-
# # Start the Celery worker in the background
|
| 7 |
-
# # We point it to the app folder where the code lives
|
| 8 |
-
# celery -A celery_worker.celery worker --loglevel=info &
|
| 9 |
-
|
| 10 |
-
# # Start the FastAPI server in the foreground
|
| 11 |
-
# # This is the main process that keeps the container alive
|
| 12 |
-
# # It must listen on 0.0.0.0 and port 7860 for Hugging Face Spaces
|
| 13 |
-
# uvicorn main:app --host 0.0.0.0 --port 7860
|
| 14 |
-
|
| 15 |
-
|
| 16 |
-
#!/bin/bash
|
| 17 |
|
| 18 |
# Start the Redis server in the background WITH PERSISTENCE DISABLED
|
| 19 |
# The '--save ""' command tells Redis not to create any RDB snapshots.
|
|
|
|
| 1 |
+
#!/bin/sh
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 2 |
|
| 3 |
# Start the Redis server in the background WITH PERSISTENCE DISABLED
|
| 4 |
# The '--save ""' command tells Redis not to create any RDB snapshots.
|