Skip to content

Update app.py

Update app.py #10

Workflow file for this run

name: Deploy to Streamlit
on:
push:
branches:
- main
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Setup Node.js environment
uses: actions/setup-node@v2
with:
node-version: '16' # Update Node.js version to 16
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: '3.10'
- name: Install dependencies
run: |
python -m venv venv
. venv/bin/activate
pip install -r requirements.txt
- name: Deploy to Streamlit
env:
API_KEY: ${{ secrets.API_KEY }}
run: |
. venv/bin/activate
streamlit run app.py