Skip to content

Comments

Fix Streamlit app.yaml #153

Merged
calreynolds merged 1 commit intodatabricks-solutions:mainfrom
maucaro:streamlit-app-yaml
Feb 20, 2026
Merged

Fix Streamlit app.yaml #153
calreynolds merged 1 commit intodatabricks-solutions:mainfrom
maucaro:streamlit-app-yaml

Conversation

@maucaro
Copy link
Contributor

@maucaro maucaro commented Feb 20, 2026

The command element removed extraneous entries and now looks like:

command:
  - "streamlit"
  - "run"
  - "app.py"

This fixes "App not available" upon deployment.

Entries in the env element now look like:

env:
  - name: DATABRICKS_WAREHOUSE_ID
    valueFrom: sql-warehouse

This fixes the following error: "Error deploying app: error reading app.yaml file"

The following prompt was used to generate an app.yaml file: "create an app.yaml file for a databricks streamlit app"

The newly created file was tested with a new Streamlit App without any issues.

Copy link
Collaborator

@calreynolds calreynolds left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!

@calreynolds calreynolds merged commit b2c9491 into databricks-solutions:main Feb 20, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants