Spaces:
Running
Running
Update scripts/docker-deploy.sh
Browse files- scripts/docker-deploy.sh +2 -2
scripts/docker-deploy.sh
CHANGED
|
@@ -1,7 +1,7 @@
|
|
| 1 |
#!/bin/bash
|
| 2 |
|
| 3 |
-
echo "Starting fastapi"
|
| 4 |
-
|
| 5 |
|
| 6 |
echo "Starting streamlit frontend"
|
| 7 |
streamlit run streamlit_ui.py --server.port=7860 --server.address=0.0.0.0
|
|
|
|
| 1 |
#!/bin/bash
|
| 2 |
|
| 3 |
+
echo "Starting fastapi backend"
|
| 4 |
+
python -m uvicorn main:app --host 127.0.0.1 --port 8005 &
|
| 5 |
|
| 6 |
echo "Starting streamlit frontend"
|
| 7 |
streamlit run streamlit_ui.py --server.port=7860 --server.address=0.0.0.0
|