Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -89,21 +89,43 @@ def chatbot_response(user_input):
|
|
| 89 |
st.markdown(
|
| 90 |
"""
|
| 91 |
<style>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 92 |
.title {
|
| 93 |
font-size: 36px;
|
| 94 |
font-weight: normal;
|
|
|
|
|
|
|
| 95 |
}
|
| 96 |
.slogan {
|
| 97 |
font-size: 24px;
|
| 98 |
font-weight: normal;
|
|
|
|
|
|
|
| 99 |
}
|
| 100 |
</style>
|
| 101 |
""",
|
| 102 |
unsafe_allow_html=True
|
| 103 |
)
|
| 104 |
|
| 105 |
-
|
| 106 |
-
st.markdown(
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 107 |
|
| 108 |
user_input = st.text_input("You:", "")
|
| 109 |
submit_button = st.button("Send 📨")
|
|
@@ -122,29 +144,3 @@ if submit_button:
|
|
| 122 |
# Motivational quote at the bottom
|
| 123 |
st.markdown("---")
|
| 124 |
st.markdown("*La collaboration est la clé du succès. Chaque question trouve sa réponse, chaque défi devient une opportunité.*")
|
| 125 |
-
|
| 126 |
-
# Add CSS for positioning the logo at the bottom left
|
| 127 |
-
st.markdown(
|
| 128 |
-
"""
|
| 129 |
-
<style>
|
| 130 |
-
.footer-logo {
|
| 131 |
-
position: fixed;
|
| 132 |
-
bottom: 10px;
|
| 133 |
-
left: 10px;
|
| 134 |
-
width: 100px; /* Adjust width as necessary */
|
| 135 |
-
}
|
| 136 |
-
</style>
|
| 137 |
-
""",
|
| 138 |
-
unsafe_allow_html=True
|
| 139 |
-
)
|
| 140 |
-
|
| 141 |
-
# Add logo to the bottom left
|
| 142 |
-
st.markdown(
|
| 143 |
-
"""
|
| 144 |
-
<div class="footer-logo">
|
| 145 |
-
<img src="Altereo logo 2023 original - eau et territoires durables.png" alt="">
|
| 146 |
-
</div>
|
| 147 |
-
""",
|
| 148 |
-
unsafe_allow_html=True
|
| 149 |
-
)
|
| 150 |
-
|
|
|
|
| 89 |
st.markdown(
|
| 90 |
"""
|
| 91 |
<style>
|
| 92 |
+
.header {
|
| 93 |
+
display: flex;
|
| 94 |
+
justify-content: space-between;
|
| 95 |
+
align-items: center;
|
| 96 |
+
}
|
| 97 |
+
.header img {
|
| 98 |
+
width: 100px; /* Adjust width as necessary */
|
| 99 |
+
}
|
| 100 |
.title {
|
| 101 |
font-size: 36px;
|
| 102 |
font-weight: normal;
|
| 103 |
+
text-align: center;
|
| 104 |
+
flex-grow: 1;
|
| 105 |
}
|
| 106 |
.slogan {
|
| 107 |
font-size: 24px;
|
| 108 |
font-weight: normal;
|
| 109 |
+
text-align: center;
|
| 110 |
+
margin-top: -20px; /* Adjust margin as necessary */
|
| 111 |
}
|
| 112 |
</style>
|
| 113 |
""",
|
| 114 |
unsafe_allow_html=True
|
| 115 |
)
|
| 116 |
|
| 117 |
+
# Header with logos and title
|
| 118 |
+
st.markdown(
|
| 119 |
+
"""
|
| 120 |
+
<div class="header">
|
| 121 |
+
<img src="Design 3_2 (1).png" alt="Project Logo">
|
| 122 |
+
<div class="title">🤖 ALTER-IA BOT, ton assistant virtuel de tous les jours</div>
|
| 123 |
+
<img src="Altereo logo 2023 original - eau et territoires durables.png" alt="Enterprise Logo">
|
| 124 |
+
</div>
|
| 125 |
+
<div class="slogan">Votre Réponse à Chaque Défi Méthodologique 📈</div>
|
| 126 |
+
""",
|
| 127 |
+
unsafe_allow_html=True
|
| 128 |
+
)
|
| 129 |
|
| 130 |
user_input = st.text_input("You:", "")
|
| 131 |
submit_button = st.button("Send 📨")
|
|
|
|
| 144 |
# Motivational quote at the bottom
|
| 145 |
st.markdown("---")
|
| 146 |
st.markdown("*La collaboration est la clé du succès. Chaque question trouve sa réponse, chaque défi devient une opportunité.*")
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|