SHAMIL SHAHBAZ AWAN
commited on
Update app.py
Browse files
app.py
CHANGED
|
@@ -7,7 +7,7 @@ GROQ_API_KEY = st.secrets["GROQ_API_KEY"]
|
|
| 7 |
|
| 8 |
# Step 2: Initialize Groq Client
|
| 9 |
if GROQ_API_KEY is None:
|
| 10 |
-
st.error("Groq API key is missing. Please add the API key in
|
| 11 |
else:
|
| 12 |
groq_client = Groq(api_key=GROQ_API_KEY)
|
| 13 |
|
|
@@ -23,7 +23,7 @@ else:
|
|
| 23 |
return f"Error with Groq API: {str(e)}"
|
| 24 |
|
| 25 |
# Step 4: Add Background Image using Custom CSS
|
| 26 |
-
background_image_url = "https://
|
| 27 |
st.markdown(
|
| 28 |
f"""
|
| 29 |
<style>
|
|
|
|
| 7 |
|
| 8 |
# Step 2: Initialize Groq Client
|
| 9 |
if GROQ_API_KEY is None:
|
| 10 |
+
st.error("Groq API key is missing. Please add the API key in Secrets.")
|
| 11 |
else:
|
| 12 |
groq_client = Groq(api_key=GROQ_API_KEY)
|
| 13 |
|
|
|
|
| 23 |
return f"Error with Groq API: {str(e)}"
|
| 24 |
|
| 25 |
# Step 4: Add Background Image using Custom CSS
|
| 26 |
+
background_image_url = "https://static.vecteezy.com/ti/fotos-gratis/t1/21196013-futurista-tecnologia-fundo-azul-linha-onda-luz-tela-abstrato-ilustracao-foto.jpg"
|
| 27 |
st.markdown(
|
| 28 |
f"""
|
| 29 |
<style>
|