Update app.py
Browse files6 unmodified lines789101112136 unmodified linesload_dotenv()# Ensure that the API key is loaded correctlyapi_key = os.getenv("GROQ_API_KEY")if not api_key:st.error("API key is missing! Please check your .env file or set the environment variable.")6 unmodified lines78910111213146 unmodified linesload_dotenv()# Ensure that the API key is loaded correctlyGROQ_API_KEY = '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'client =(api_key =GROQ_API_KEY)if not api_key:st.error("API key is missing! Please check your .env file or set the environment variable.")
app.py+2-1