Hi @AnaMocanu,
How are you setting up: DATABRICKS_WAREHOUSE_ID?
When running the app locally, the environment variables set in the app.yaml
file might not be picked up automatically. You can manually set the environment variable in your local environment before running the app. For example, in a Unix-based system, you can use
export DATABRICKS_WAREHOUSE_ID=<your_warehouse_id>
streamlit run app.py
Additionally, you might want to implement some prints to validate if information is correct:
import os
print("DATABRICKS_WAREHOUSE_ID:", os.getenv('DATABRICKS_WAREHOUSE_ID'))