Update app.py
Browse files4 unmodified lines56789101112131415161718192021224 unmodified linesfrom io import StringIOimport csvimport streamlit as stimport pandas as pdimport google.generativeai as genaiimport osfrom io import StringIOimport csv# Set page configuration firstst.set_page_config(page_title="AI-based Solar Project Estimation Tool", layout="centered")# Get API key from environment variableapi_key = os.getenv("GOOGLE_API_KEY")if not api_key:st.error("Google API Key not set. Please set the GOOGLE_API_KEY environment variable.")else:4 unmodified lines56789101112131415164 unmodified linesfrom io import StringIOimport csv# Set page configuration firstst.set_page_config(page_title="AI-based Solar Project Estimation Tool", layout="centered")# Get API key from environment variableapi_key = os.getenv("AIzaSyCVRGVxIe1vESoAgykgHWOej-jZxiU-RKE")if not api_key:st.error("Google API Key not set. Please set the GOOGLE_API_KEY environment variable.")else:
app.py+1-7