Spaces:
Sleeping
Sleeping
Update start.sh
Browse files
start.sh
CHANGED
|
@@ -1,4 +1,5 @@
|
|
| 1 |
#!/bin/bash
|
| 2 |
|
| 3 |
-
#
|
| 4 |
-
|
|
|
|
|
|
| 1 |
#!/bin/bash
|
| 2 |
|
| 3 |
+
# The 'exec' command replaces the shell process with the uvicorn process,
|
| 4 |
+
# allowing it to properly receive signals from the container platform.
|
| 5 |
+
exec uvicorn app:app --host "0.0.0.0" --port "7860" --workers 1
|