philona commited on
Commit
036c8d8
1 Parent(s): 0c5a65d

Update htmlTemplates.py

Browse files
Files changed (1) hide show
  1. htmlTemplates.py +4 -4
htmlTemplates.py CHANGED
@@ -4,10 +4,10 @@ css = '''
4
  padding: 1.5rem; border-radius: 0.5rem; margin-bottom: 1rem; display: flex
5
  }
6
  .chat-message.user {
7
- background-color: #2b313e
8
  }
9
  .chat-message.bot {
10
- background-color: #475063
11
  }
12
  .chat-message .avatar {
13
  width: 20%;
@@ -28,7 +28,7 @@ css = '''
28
  bot_template = '''
29
  <div class="chat-message bot">
30
  <div class="avatar">
31
- <img src="https://i.ibb.co/cN0nmSj/Screenshot-2023-05-28-at-02-37-21.png" style="max-height: 78px; max-width: 78px; border-radius: 50%; object-fit: cover;">
32
  </div>
33
  <div class="message">{{MSG}}</div>
34
  </div>
@@ -37,7 +37,7 @@ bot_template = '''
37
  user_template = '''
38
  <div class="chat-message user">
39
  <div class="avatar">
40
- <img src="https://i.ibb.co/rdZC7LZ/Photo-logo-1.png">
41
  </div>
42
  <div class="message">{{MSG}}</div>
43
  </div>
 
4
  padding: 1.5rem; border-radius: 0.5rem; margin-bottom: 1rem; display: flex
5
  }
6
  .chat-message.user {
7
+ background-color: #F8E0F7
8
  }
9
  .chat-message.bot {
10
+ background-color: #E0E6F8
11
  }
12
  .chat-message .avatar {
13
  width: 20%;
 
28
  bot_template = '''
29
  <div class="chat-message bot">
30
  <div class="avatar">
31
+ <img src="https://i.namu.wiki/i/llCM2xW_2gaioXIB3D7dSwTR0RlaswpDbNQTumH0oXOnIJDRhTYP6lTwlZs8PCxHAF6kfmsTJYaVYuscKW4atAmw08vdeqvdN2m2VFv9bkYWYTyssJCFRhsyIoERYjMjzhiyYa0RcCaIJLbsM9PUyA.webp" style="max-height: 78px; max-width: 78px; border-radius: 50%; object-fit: cover;">
32
  </div>
33
  <div class="message">{{MSG}}</div>
34
  </div>
 
37
  user_template = '''
38
  <div class="chat-message user">
39
  <div class="avatar">
40
+ <img src="https://png.pngtree.com/png-vector/20191115/ourmid/pngtree-beautiful-profile-line-vector-icon-png-image_1990469.jpg">
41
  </div>
42
  <div class="message">{{MSG}}</div>
43
  </div>