Spaces:
Build error
Build error
Commit
·
cb1e3bf
1
Parent(s):
a31249e
Update railway.yml
Browse files- railway.yml +5 -2
railway.yml
CHANGED
@@ -1,4 +1,3 @@
|
|
1 |
-
|
2 |
# environment variables
|
3 |
env:
|
4 |
FLASK_ENV: development
|
@@ -14,8 +13,12 @@ services:
|
|
14 |
# build and deploy configurations
|
15 |
build:
|
16 |
- name: Prepare ML Model
|
17 |
-
command:
|
|
|
|
|
18 |
|
19 |
# additional files and directories to include in the deployment
|
20 |
files:
|
21 |
- Pop_Data.csv
|
|
|
|
|
|
|
|
1 |
# environment variables
|
2 |
env:
|
3 |
FLASK_ENV: development
|
|
|
13 |
# build and deploy configurations
|
14 |
build:
|
15 |
- name: Prepare ML Model
|
16 |
+
command:
|
17 |
+
- python dynamic_pricing.py
|
18 |
+
- pip install -r requirements.txt # Add this command to install packages
|
19 |
|
20 |
# additional files and directories to include in the deployment
|
21 |
files:
|
22 |
- Pop_Data.csv
|
23 |
+
- requirements.txt # Include requirements.txt in the deployment
|
24 |
+
|