Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
|
@@ -5,6 +5,18 @@ from html2image import Html2Image
|
|
| 5 |
hti = Html2Image()
|
| 6 |
client = InferenceClient("mistralai/Mixtral-8x7B-Instruct-v0.1")
|
| 7 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 8 |
|
| 9 |
html_user="""
|
| 10 |
<div class="user_chat">
|
|
|
|
| 5 |
hti = Html2Image()
|
| 6 |
client = InferenceClient("mistralai/Mixtral-8x7B-Instruct-v0.1")
|
| 7 |
|
| 8 |
+
css="""
|
| 9 |
+
.user_chat{
|
| 10 |
+
background:green;
|
| 11 |
+
}
|
| 12 |
+
.bot_chat{
|
| 13 |
+
background:blue;
|
| 14 |
+
}
|
| 15 |
+
.chat_card{
|
| 16 |
+
background:red;
|
| 17 |
+
border-radius:15px;
|
| 18 |
+
}
|
| 19 |
+
"""
|
| 20 |
|
| 21 |
html_user="""
|
| 22 |
<div class="user_chat">
|