Update app.py
Browse files
app.py
CHANGED
|
@@ -9,12 +9,7 @@ load_dotenv()
|
|
| 9 |
# Ensure that the API key is loaded correctly
|
| 10 |
GROQ_API_KEY = "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"
|
| 11 |
client = Groq(api_key =GROQ_API_KEY)
|
| 12 |
-
|
| 13 |
-
if not api_key:
|
| 14 |
-
st.error("API key is missing! Please check your .env file or set the environment variable.")
|
| 15 |
-
else:
|
| 16 |
-
# Initialize Groq client with the API key
|
| 17 |
-
client = Groq(api_key=GROQ_API_KEY)
|
| 18 |
|
| 19 |
# Custom CSS to style headings and overall appearance
|
| 20 |
st.markdown("""
|
|
|
|
| 9 |
# Ensure that the API key is loaded correctly
|
| 10 |
GROQ_API_KEY = "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"
|
| 11 |
client = Groq(api_key =GROQ_API_KEY)
|
| 12 |
+
)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 13 |
|
| 14 |
# Custom CSS to style headings and overall appearance
|
| 15 |
st.markdown("""
|