Prachidwi commited on
Commit
3e35f94
·
verified ·
1 Parent(s): 2afcc95

Delete htmltemplates.py

Browse files
Files changed (1) hide show
  1. htmltemplates.py +0 -45
htmltemplates.py DELETED
@@ -1,45 +0,0 @@
1
-
2
- css = '''
3
- <style>
4
- .chat-message {
5
- padding: 1.5rem; border-radius: 0.5rem; margin-bottom: 1rem; display: flex
6
- }
7
- .chat-message.user {
8
- background-color: #2b313e
9
- }
10
- .chat-message.bot {
11
- background-color: #475063
12
- }
13
- .chat-message .avatar {
14
- width: 20%;
15
- }
16
- .chat-message .avatar img {
17
- max-width: 78px;
18
- max-height: 78px;
19
- border-radius: 50%;
20
- object-fit: cover;
21
- }
22
- .chat-message .message {
23
- width: 80%;
24
- padding: 0 1.5rem;
25
- color: #fff;
26
- }
27
- '''
28
-
29
- bot_template = '''
30
- <div class="chat-message bot">
31
- <div class="avatar">
32
- <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;">
33
- </div>
34
- <div class="message">{{MSG}}</div>
35
- </div>
36
- '''
37
-
38
- user_template = '''
39
- <div class="chat-message user">
40
- <div class="avatar">
41
- <img src="https://i.ibb.co/rdZC7LZ/Photo-logo-1.png">
42
- </div>
43
- <div class="message">{{MSG}}</div>
44
- </div>
45
- '''