Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -86,8 +86,24 @@ def chatbot_response(user_input):
|
|
86 |
return response
|
87 |
|
88 |
# Streamlit components
|
89 |
-
st.markdown(
|
90 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
91 |
|
92 |
user_input = st.text_input("You:", "")
|
93 |
submit_button = st.button("Send 📨")
|
@@ -107,25 +123,22 @@ if submit_button:
|
|
107 |
st.markdown("---")
|
108 |
st.markdown("*La collaboration est la clé du succès. Chaque question trouve sa réponse, chaque défi devient une opportunité.*")
|
109 |
|
110 |
-
# Add CSS for positioning the logo at the bottom
|
111 |
st.markdown(
|
112 |
"""
|
113 |
<style>
|
114 |
.footer-logo {
|
115 |
position: fixed;
|
116 |
bottom: 10px;
|
117 |
-
|
118 |
-
|
119 |
-
}
|
120 |
-
.footer-logo img {
|
121 |
-
width: 100px; # Adjust width as necessary
|
122 |
}
|
123 |
</style>
|
124 |
""",
|
125 |
unsafe_allow_html=True
|
126 |
)
|
127 |
|
128 |
-
# Add logo to the bottom
|
129 |
st.markdown(
|
130 |
"""
|
131 |
<div class="footer-logo">
|
|
|
86 |
return response
|
87 |
|
88 |
# Streamlit components
|
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 |
+
st.markdown('<div class="title">🤖 ALTER-IA BOT, ton assistant virtuel de tous les jours</div>', unsafe_allow_html=True)
|
106 |
+
st.markdown('<div class="slogan">Votre Réponse à Chaque Défi Méthodologique 📈</div>', unsafe_allow_html=True)
|
107 |
|
108 |
user_input = st.text_input("You:", "")
|
109 |
submit_button = st.button("Send 📨")
|
|
|
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">
|