Skip to content

Commit 7d9228c

Browse files
authored
Merge Unified. It's been long enough.
Merge Unified. It's been long enough.
2 parents 49306d4 + 9e25661 commit 7d9228c

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

64 files changed

+2271
-1548
lines changed

.github/workflows/stale.yml

Lines changed: 0 additions & 22 deletions
This file was deleted.

README.md

Lines changed: 94 additions & 57 deletions
Large diffs are not rendered by default.

api-examples/api-example-chat-stream.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,6 @@ async def run(user_input, history):
3636
# 'turn_template': 'turn_template', # Optional
3737
'regenerate': False,
3838
'_continue': False,
39-
'stop_at_newline': False,
40-
'chat_generation_attempts': 1,
4139
'chat_instruct_command': 'Continue the chat dialogue below. Write a single reply for the character "<|character|>".\n\n<|prompt|>',
4240

4341
# Generation params. If 'preset' is set to different than 'None', the values

api-examples/api-example-chat.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,6 @@ def run(user_input, history):
3030
# 'turn_template': 'turn_template', # Optional
3131
'regenerate': False,
3232
'_continue': False,
33-
'stop_at_newline': False,
34-
'chat_generation_attempts': 1,
3533
'chat_instruct_command': 'Continue the chat dialogue below. Write a single reply for the character "<|character|>".\n\n<|prompt|>',
3634

3735
# Generation params. If 'preset' is set to different than 'None', the values

css/chat.css

Lines changed: 0 additions & 146 deletions
This file was deleted.

css/html_4chan_style.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@
9898
margin-right: 40px !important;
9999
}
100100

101-
#parent #container .message {
101+
#parent #container .message_4chan {
102102
color: black;
103103
border: none;
104104
}

css/html_instruct_style.css

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,10 @@
4343
margin-bottom: 9px !important;
4444
}
4545

46+
.gradio-container .chat .assistant-message:last-child, .gradio-container .chat .user-message:last-child {
47+
margin-bottom: 0px !important;
48+
}
49+
4650
.dark .chat .assistant-message {
4751
background-color: #3741519e;
4852
border: 1px solid #4b5563;
@@ -58,5 +62,5 @@ code {
5862
}
5963

6064
.dark code {
61-
background-color: #1a212f !important;
65+
background-color: #0e1321 !important;
6266
}

css/html_readable_style.css

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,4 +26,8 @@
2626

2727
.container :not(pre) > code {
2828
white-space: normal !important;
29+
}
30+
31+
.container .hoverable {
32+
font-size: 14px;
2933
}

0 commit comments

Comments
 (0)