Spaces:
Sleeping
Sleeping
Update entrypoint.sh
Browse files- entrypoint.sh +4 -4
entrypoint.sh
CHANGED
|
@@ -5,16 +5,16 @@ set -e
|
|
| 5 |
|
| 6 |
# Step 1: Data Ingestion
|
| 7 |
echo "Running data ingestion..."
|
| 8 |
-
python data_pipeline/data_ingestion.py
|
| 9 |
|
| 10 |
# Step 2: Data Preprocessing
|
| 11 |
echo "Running data preprocessing..."
|
| 12 |
-
python data_pipeline/data_preprocessor.py
|
| 13 |
|
| 14 |
# Step 3: Model Training
|
| 15 |
echo "Running model training..."
|
| 16 |
-
python model_pipeline/model_trainer.py
|
| 17 |
|
| 18 |
# Step 4: Run FastAPI App
|
| 19 |
echo "Starting FastAPI app..."
|
| 20 |
-
uvicorn fastapi_app.main:app --host 0.0.0.0 --port
|
|
|
|
| 5 |
|
| 6 |
# Step 1: Data Ingestion
|
| 7 |
echo "Running data ingestion..."
|
| 8 |
+
# python data_pipeline/data_ingestion.py
|
| 9 |
|
| 10 |
# Step 2: Data Preprocessing
|
| 11 |
echo "Running data preprocessing..."
|
| 12 |
+
# python data_pipeline/data_preprocessor.py
|
| 13 |
|
| 14 |
# Step 3: Model Training
|
| 15 |
echo "Running model training..."
|
| 16 |
+
# python model_pipeline/model_trainer.py
|
| 17 |
|
| 18 |
# Step 4: Run FastAPI App
|
| 19 |
echo "Starting FastAPI app..."
|
| 20 |
+
uvicorn fastapi_app.main:app --host 0.0.0.0 --port 7860
|