praneeth dodedu commited on
Commit
630760f
·
1 Parent(s): a63bdb6

changed icons

Browse files
Files changed (3) hide show
  1. app.py +4 -4
  2. bot.png +0 -0
  3. robot-chat.jpg +0 -0
app.py CHANGED
@@ -170,7 +170,7 @@ def bot(query, history, fileListHistory, k=5):
170
 
171
 
172
  # Open the image and convert it to base64
173
- with open(Path("rybot_small.png"), "rb") as img_file:
174
  img_str = base64.b64encode(img_file.read()).decode()
175
 
176
  html_code = f'''
@@ -195,7 +195,7 @@ html_code = f'''
195
  .image-container {{
196
  display: inline-block;
197
  vertical-align: middle;
198
- height: 50px; /* Twice the font-size */
199
  margin-bottom: 5px;
200
  }}
201
  </style>
@@ -203,11 +203,11 @@ html_code = f'''
203
  <body>
204
  <div class="center">
205
  <img src="data:image/jpg;base64,{img_str}" alt="RyBOT image" class="image-container" />
206
- <strong class="large-text">RyBOT</strong>
207
  </div>
208
  <br>
209
  <div class="center">
210
- <h3> [ "I'm smart but the humans have me running on a hamster wheel. Please forgive the slow responses." ] </h3>
211
  </div>
212
  </body>
213
  </html>
 
170
 
171
 
172
  # Open the image and convert it to base64
173
+ with open(Path("bot.png"), "rb") as img_file:
174
  img_str = base64.b64encode(img_file.read()).decode()
175
 
176
  html_code = f'''
 
195
  .image-container {{
196
  display: inline-block;
197
  vertical-align: middle;
198
+ height: 10px; /* Twice the font-size */
199
  margin-bottom: 5px;
200
  }}
201
  </style>
 
203
  <body>
204
  <div class="center">
205
  <img src="data:image/jpg;base64,{img_str}" alt="RyBOT image" class="image-container" />
206
+ <strong class="large-text">Happy Bot</strong>
207
  </div>
208
  <br>
209
  <div class="center">
210
+ <h3> [ "I am Happy Bot, get your answers here" ] </h3>
211
  </div>
212
  </body>
213
  </html>
bot.png ADDED
robot-chat.jpg ADDED