Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -14,22 +14,29 @@ def load_model():
|
|
14 |
|
15 |
tokenizer, model = load_model()
|
16 |
|
17 |
-
# Add
|
18 |
st.markdown(
|
19 |
"""
|
20 |
<style>
|
21 |
body {
|
22 |
-
background
|
23 |
background-size: cover;
|
24 |
-
background-repeat: no-repeat;
|
25 |
background-attachment: fixed;
|
26 |
color: white;
|
27 |
}
|
28 |
.stButton button {
|
29 |
-
background-color: #6c63ff;
|
30 |
color: white;
|
31 |
font-size: 20px;
|
32 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
33 |
</style>
|
34 |
""",
|
35 |
unsafe_allow_html=True,
|
|
|
14 |
|
15 |
tokenizer, model = load_model()
|
16 |
|
17 |
+
# Add an aesthetic background with a soothing gradient for a calming effect
|
18 |
st.markdown(
|
19 |
"""
|
20 |
<style>
|
21 |
body {
|
22 |
+
background: linear-gradient(135deg, #8e2de2, #4a00e0); /* Purple gradient for a calm vibe */
|
23 |
background-size: cover;
|
|
|
24 |
background-attachment: fixed;
|
25 |
color: white;
|
26 |
}
|
27 |
.stButton button {
|
28 |
+
background-color: #6c63ff; /* Blue button color to match the calming purple gradient */
|
29 |
color: white;
|
30 |
font-size: 20px;
|
31 |
}
|
32 |
+
.stTextInput input {
|
33 |
+
background-color: rgba(255, 255, 255, 0.2); /* Semi-transparent background for text input */
|
34 |
+
color: white;
|
35 |
+
font-size: 16px;
|
36 |
+
}
|
37 |
+
.stMarkdown {
|
38 |
+
color: white; /* Ensure markdown text is white for better readability */
|
39 |
+
}
|
40 |
</style>
|
41 |
""",
|
42 |
unsafe_allow_html=True,
|