Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -89,18 +89,20 @@ with col3:
|
|
| 89 |
st.image("Altereo logo 2023 original - eau et territoires durables.png", width=150, use_column_width=True) # Adjust image path and size as needed
|
| 90 |
# Streamlit components
|
| 91 |
# Ajouter un peu de CSS pour centrer le texte
|
|
|
|
| 92 |
st.markdown("""
|
| 93 |
<style>
|
| 94 |
-
.centered-text {
|
| 95 |
text-align: center;
|
|
|
|
| 96 |
}
|
| 97 |
</style>
|
| 98 |
""", unsafe_allow_html=True)
|
| 99 |
|
| 100 |
-
#
|
| 101 |
st.markdown('<h3 class="centered-text">🤖 ALTER-IA BOT</h3>', unsafe_allow_html=True)
|
| 102 |
-
|
| 103 |
-
|
| 104 |
# Input and button for user interaction
|
| 105 |
user_input = st.text_input("You:", "")
|
| 106 |
submit_button = st.button("Ask 📨")
|
|
@@ -109,8 +111,6 @@ submit_button = st.button("Ask 📨")
|
|
| 109 |
if submit_button:
|
| 110 |
if user_input.strip() != "":
|
| 111 |
bot_response = chatbot_response(user_input)
|
| 112 |
-
st.markdown("### You:")
|
| 113 |
-
st.markdown(f"> {user_input}")
|
| 114 |
st.markdown("### Bot:")
|
| 115 |
st.text_area("Bot:", value=bot_response, height=600)
|
| 116 |
else:
|
|
|
|
| 89 |
st.image("Altereo logo 2023 original - eau et territoires durables.png", width=150, use_column_width=True) # Adjust image path and size as needed
|
| 90 |
# Streamlit components
|
| 91 |
# Ajouter un peu de CSS pour centrer le texte
|
| 92 |
+
# Ajouter un peu de CSS pour centrer le texte et le colorer en orange foncé
|
| 93 |
st.markdown("""
|
| 94 |
<style>
|
| 95 |
+
.centered-orange-text {
|
| 96 |
text-align: center;
|
| 97 |
+
color: darkorange;
|
| 98 |
}
|
| 99 |
</style>
|
| 100 |
""", unsafe_allow_html=True)
|
| 101 |
|
| 102 |
+
# Centrer le texte principal
|
| 103 |
st.markdown('<h3 class="centered-text">🤖 ALTER-IA BOT</h3>', unsafe_allow_html=True)
|
| 104 |
+
# Centrer et colorer en orange foncé le texte spécifique
|
| 105 |
+
st.markdown('<p class="centered-orange-text">Votre Réponse à Chaque Défi Méthodologique 📈</p>', unsafe_allow_html=True)
|
| 106 |
# Input and button for user interaction
|
| 107 |
user_input = st.text_input("You:", "")
|
| 108 |
submit_button = st.button("Ask 📨")
|
|
|
|
| 111 |
if submit_button:
|
| 112 |
if user_input.strip() != "":
|
| 113 |
bot_response = chatbot_response(user_input)
|
|
|
|
|
|
|
| 114 |
st.markdown("### Bot:")
|
| 115 |
st.text_area("Bot:", value=bot_response, height=600)
|
| 116 |
else:
|