Spaces:
Running
Running
Create entrypoint.sh
Browse files- entrypoint.sh +5 -0
entrypoint.sh
ADDED
|
@@ -0,0 +1,5 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#!/bin/bash
|
| 2 |
+
set -e
|
| 3 |
+
|
| 4 |
+
echo "Initialising Load Balancer of NPMAI LLM"
|
| 5 |
+
exec python3 -m uvicorn app:app --host 0.0.0.0 --port "${PORT:-7860}"
|