mery22 commited on
Commit
2b8b939
1 Parent(s): cff3cdd

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +11 -39
app.py CHANGED
@@ -86,47 +86,19 @@ def chatbot_response(user_input):
86
  return response
87
 
88
  # Streamlit components
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 📨")
132
 
 
86
  return response
87
 
88
  # Streamlit components
89
+ st.markdown("# 🤖 ALTER-IA BOT, ton assistant virtuel de tous les jours")
90
+ st.markdown("## Votre Réponse à Chaque Défi Méthodologique 📈")
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
91
 
92
+ # Create columns for logos
93
+ col1, col2, col3 = st.columns([1, 6, 1])
94
+
95
+ with col1:
96
+ st.image("Design 3_2 (1).png", use_column_width=True) # Adjust image path and size as needed
97
+
98
+ with col3:
99
+ st.image("Altereo logo 2023 original - eau et territoires durables.png", use_column_width=True) # Adjust image path and size as needed
 
 
 
 
100
 
101
+ # Input and button for user interaction
102
  user_input = st.text_input("You:", "")
103
  submit_button = st.button("Send 📨")
104