Bump gradio version
It looks uglier, but the old one was bugged and unstable.
This commit is contained in:
parent
0e89ff4b13
commit
a55e8836f6
3 changed files with 13 additions and 6 deletions
|
@ -215,14 +215,20 @@ def generate_chat_html(history, name1, name2, character):
|
|||
font-weight: bold;
|
||||
}
|
||||
|
||||
.body {
|
||||
.message-body {
|
||||
}
|
||||
|
||||
.body img {
|
||||
.message-body img {
|
||||
max-width: 300px;
|
||||
max-height: 300px;
|
||||
border-radius: 20px;
|
||||
}
|
||||
|
||||
.message-body p {
|
||||
margin-bottom: 0 !important;
|
||||
font-size: 15px !important;
|
||||
line-height: 1.428571429 !important;
|
||||
}
|
||||
"""
|
||||
|
||||
output = ''
|
||||
|
@ -263,7 +269,7 @@ def generate_chat_html(history, name1, name2, character):
|
|||
<div class="username">
|
||||
{name2}
|
||||
</div>
|
||||
<div class="body">
|
||||
<div class="message-body">
|
||||
{p}
|
||||
</div>
|
||||
</div>
|
||||
|
@ -281,7 +287,7 @@ def generate_chat_html(history, name1, name2, character):
|
|||
<div class="username">
|
||||
{name1}
|
||||
</div>
|
||||
<div class="body">
|
||||
<div class="message-body">
|
||||
{p}
|
||||
</div>
|
||||
</div>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue