Spaces:
Paused
Paused
Create run.sh
Browse files
run.sh
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#!/bin/bash
|
| 2 |
+
|
| 3 |
+
# Start the FastAPI server in the background on port 7860
|
| 4 |
+
uvicorn trade_analysis.enhanced_api:app --host 0.0.0.0 --port 7860 &
|
| 5 |
+
|
| 6 |
+
# Start the Streamlit app in the foreground on port 8501
|
| 7 |
+
streamlit run streamlit_app.py --server.port 8501 --server.address 0.0.0.0
|