Redesigned the chat history, renamed the profile names of vicuna-v0 and vicuna-v1.1 and updated the screnshot
This commit is contained in:
parent
f4abe93735
commit
2a2241ce08
4 changed files with 27 additions and 21 deletions
|
@ -11,6 +11,7 @@
|
||||||
--icon-button-fill: #ffffff;
|
--icon-button-fill: #ffffff;
|
||||||
--send-icon-button-fill: #29c76d;
|
--send-icon-button-fill: #29c76d;
|
||||||
--color: #fafafa;
|
--color: #fafafa;
|
||||||
|
--color2: #bbbbbb;
|
||||||
--border-radius: .5rem;
|
--border-radius: .5rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -69,20 +70,38 @@ input[type="number"] {
|
||||||
}
|
}
|
||||||
|
|
||||||
.messages {
|
.messages {
|
||||||
gap: 1.1rem;
|
gap: 1rem;
|
||||||
margin-bottom: 1rem;
|
margin-bottom: 1rem;
|
||||||
overflow-y: scroll;
|
overflow-y: scroll;
|
||||||
max-height: 89vh;
|
max-height: 89vh;
|
||||||
|
align-items: center;
|
||||||
|
flex-grow: 2;
|
||||||
}
|
}
|
||||||
|
|
||||||
.message {
|
.message {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: row;
|
flex-direction: column;
|
||||||
gap: .5rem;
|
flex-wrap: wrap;
|
||||||
padding: .5rem;
|
gap: 1rem;
|
||||||
border-radius: var(--border-radius);
|
}
|
||||||
max-width: fit-content;
|
|
||||||
|
.message-type {
|
||||||
|
color: var(--color2);
|
||||||
|
text-align: center;
|
||||||
|
}
|
||||||
|
|
||||||
|
.message-text {
|
||||||
white-space: pre-wrap;
|
white-space: pre-wrap;
|
||||||
|
padding: .5rem .8rem;
|
||||||
|
border-radius: var(--border-radius);
|
||||||
|
}
|
||||||
|
|
||||||
|
.message-bg-assistant > .message-text {
|
||||||
|
background: var(--background2);
|
||||||
|
}
|
||||||
|
|
||||||
|
.message-bg-user > .message-text {
|
||||||
|
background: var(--background3);
|
||||||
}
|
}
|
||||||
|
|
||||||
button {
|
button {
|
||||||
|
@ -115,19 +134,6 @@ button:hover {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
.message-bg-assistant {
|
|
||||||
background: var(--background2);
|
|
||||||
}
|
|
||||||
|
|
||||||
.message-bg-user {
|
|
||||||
background: var(--background3);
|
|
||||||
}
|
|
||||||
|
|
||||||
.message-type {
|
|
||||||
min-width: 3.5rem;
|
|
||||||
padding-left: .1rem;
|
|
||||||
}
|
|
||||||
|
|
||||||
.input-container {
|
.input-container {
|
||||||
margin-top: auto;
|
margin-top: auto;
|
||||||
flex-direction: row;
|
flex-direction: row;
|
||||||
|
|
Binary file not shown.
Before Width: | Height: | Size: 117 KiB After Width: | Height: | Size: 129 KiB |
|
@ -1,5 +1,5 @@
|
||||||
{
|
{
|
||||||
"name": "Vicuna",
|
"name": "Vicuna v0",
|
||||||
"conversation_prefix": "A chat between a curious human and a helpful AI assistant.\n\n",
|
"conversation_prefix": "A chat between a curious human and a helpful AI assistant.\n\n",
|
||||||
"user_keyword": "### Human:",
|
"user_keyword": "### Human:",
|
||||||
"assistant_keyword": "### Assistant:",
|
"assistant_keyword": "### Assistant:",
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
{
|
{
|
||||||
"name": "Vicuna",
|
"name": "Vicuna v1.1",
|
||||||
"conversation_prefix": "A chat between a curious user and a helpful AI assistant.\n\n",
|
"conversation_prefix": "A chat between a curious user and a helpful AI assistant.\n\n",
|
||||||
"user_keyword": "USER:",
|
"user_keyword": "USER:",
|
||||||
"assistant_keyword": "ASSISTANT:",
|
"assistant_keyword": "ASSISTANT:",
|
||||||
|
|
Reference in a new issue