Spaces:
Build error
Build error
# environment variables | |
env: | |
FLASK_ENV: development | |
SECRET_KEY: "secret-key" | |
# the services the project uses | |
services: | |
- name: web | |
type: python | |
command: python app.py | |
env: development | |
# build and deploy configurations | |
build: | |
- name: Prepare ML Model | |
command: | |
- python dynamic_pricing.py | |
- pip install -r requirements.txt # Add this command to install packages | |
# additional files and directories to include in the deployment | |
files: | |
- Pop_Data.csv | |
- requirements.txt # Include requirements.txt in the deployment | |