Update app.py
Browse files
app.py
CHANGED
|
@@ -13,27 +13,6 @@ sia = SentimentIntensityAnalyzer()
|
|
| 13 |
# Initialize the Groq client with your API key
|
| 14 |
client = Groq(api_key="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")
|
| 15 |
|
| 16 |
-
# Custom CSS for full-page background image
|
| 17 |
-
def add_fullpage_background_image():
|
| 18 |
-
st.markdown(
|
| 19 |
-
f"""
|
| 20 |
-
<style>
|
| 21 |
-
.stApp {{
|
| 22 |
-
background-image: url("https://raw.githubusercontent.com/ansabb420/ClariMind/main/img.jpg");
|
| 23 |
-
background-size: cover;
|
| 24 |
-
background-repeat: no-repeat;
|
| 25 |
-
background-position: center;
|
| 26 |
-
background-attachment: fixed;
|
| 27 |
-
height: 100vh;
|
| 28 |
-
overflow: hidden;
|
| 29 |
-
}}
|
| 30 |
-
</style>
|
| 31 |
-
""",
|
| 32 |
-
unsafe_allow_html=True
|
| 33 |
-
)
|
| 34 |
-
|
| 35 |
-
# Add background image
|
| 36 |
-
add_fullpage_background_image()
|
| 37 |
|
| 38 |
# Define the system message for the model
|
| 39 |
system_message = {
|
|
|
|
| 13 |
# Initialize the Groq client with your API key
|
| 14 |
client = Groq(api_key="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")
|
| 15 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 16 |
|
| 17 |
# Define the system message for the model
|
| 18 |
system_message = {
|