Commit Graph

200 Commits

Author SHA1 Message Date
oobabooga
faf5c4dd58 Fix code blocks in instruct mode 2023-10-11 12:18:46 -07:00
oobabooga
39f16ff83d Fix default/notebook tabs css 2023-10-10 18:45:12 -07:00
oobabooga
fae8062d39
Bump to latest gradio (3.47) (#4258) 2023-10-10 22:20:49 -03:00
oobabooga
55a685d999 Minor fixes 2023-09-24 14:15:10 -07:00
oobabooga
3f73e4cdde Keep dropdown menus above errored components 2023-09-23 07:50:24 -07:00
oobabooga
ee7bf49804 Change back list style 2023-09-21 21:09:22 -07:00
oobabooga
d5330406fa Add a rename menu for chat histories 2023-09-21 19:16:51 -07:00
oobabooga
9a5ab454b4 Improve list styles 2023-09-21 14:49:00 -07:00
missionfloyd
cc8eda298a
Move hover menu shortcuts to right side (#3951) 2023-09-17 22:33:00 -03:00
oobabooga
8d85425e09 Increase --chat-buttons height 2023-09-15 21:21:24 -07:00
missionfloyd
2ad6ca8874
Add back chat buttons with --chat-buttons (#3947) 2023-09-16 00:39:37 -03:00
oobabooga
760510db52 Change a height 2023-09-15 19:41:53 -07:00
oobabooga
ef04138bc0 Improve the UI tokenizer 2023-09-15 19:30:44 -07:00
oobabooga
c3e4c9fdc2 Add a simple tokenizer to the UI 2023-09-15 19:09:03 -07:00
oobabooga
a3a5ffe651 Adjust Default tab heights 2023-09-15 09:12:42 -07:00
oobabooga
985020f038 Adjust token counter height 2023-09-15 08:50:59 -07:00
oobabooga
75646df268 Improve the header bar a bit 2023-09-15 08:06:17 -07:00
oobabooga
efd9b84fb2 Improve Default tab layout on mobile 2023-09-15 07:58:53 -07:00
oobabooga
28bb7a8b57 Increase instruct line height 2023-09-15 07:31:43 -07:00
oobabooga
eb8aa014f6 Increase hover menu button height 2023-09-15 06:44:21 -07:00
oobabooga
980997c667 Adjust a position 2023-09-14 22:11:28 -07:00
oobabooga
3181ab91dc Make "show controls" clickable again (2nd attempt) 2023-09-14 22:07:28 -07:00
oobabooga
5dc4e101d8 Add a margin to the chat input field 2023-09-14 22:03:59 -07:00
oobabooga
5c62320a62 Update cai-chat-square style 2023-09-14 19:05:29 -07:00
oobabooga
be73a5ecf4 Italics style 2023-09-14 17:18:59 -07:00
oobabooga
a3ecf3bb65 Add cai-chat-square chat style 2023-09-14 16:15:08 -07:00
missionfloyd
6154fee16d
Fix TheEncrypted777 theme in light mode (#3917) 2023-09-14 12:40:55 -03:00
oobabooga
3200328064 Minor mobile CSS fix 2023-09-14 08:38:26 -07:00
oobabooga
94dc64f870 Add a border 2023-09-14 07:20:36 -07:00
oobabooga
416e8f4758 Make "show controls" clickable again 2023-09-14 07:13:51 -07:00
oobabooga
a836c5b29a Improve the hover menu 2023-09-14 07:09:06 -07:00
oobabooga
e180284593 Update instruct style 2023-09-14 05:56:57 -07:00
oobabooga
e6d9c59398 Add background to "Show controls" 2023-09-14 05:32:44 -07:00
oobabooga
644a9b8765 Change the chat generate button 2023-09-14 05:16:44 -07:00
oobabooga
ce59c92764 Hide keyboard shortcut hints on mobile 2023-09-14 03:17:15 -07:00
oobabooga
27dbcc59f5
Make the chat input expand upwards (#3920) 2023-09-14 07:06:42 -03:00
oobabooga
6b6af74e14 Keyboard shortcuts without conflicts (hopefully) 2023-09-14 02:33:52 -07:00
oobabooga
fc11d1eff0 Add chat keyboard shortcuts 2023-09-13 19:22:40 -07:00
oobabooga
df592adff5 Minor CSS change 2023-09-13 13:58:15 -07:00
oobabooga
9f199c7a4c Use Noto Sans font
Copied from 6c8bd06308/public/webfonts/NotoSans
2023-09-13 13:48:05 -07:00
oobabooga
19548482f1 Remove unnecessary padding 2023-09-13 11:48:42 -07:00
oobabooga
7cd437e05c Properly close the hover menu on mobile 2023-09-13 11:10:46 -07:00
oobabooga
9fc46d3c19 Move "Show controls" to the right 2023-09-13 10:02:25 -07:00
oobabooga
01335d48b2 Minor CSS fix 2023-09-13 09:08:28 -07:00
oobabooga
5e3d2f7d44
Reorganize chat buttons (#3892) 2023-09-13 02:36:12 -03:00
oobabooga
a821928877 Reduce chat width 2023-09-12 10:26:43 -07:00
oobabooga
dae428a967 Revamp cai-chat theme, make it default 2023-09-11 19:30:40 -07:00
oobabooga
828d97a98c Minor CSS improvement 2023-08-29 16:15:12 -07:00
oobabooga
a26c2300cb Make instruct style more readable (attempt) 2023-08-29 14:14:01 -07:00
oobabooga
8b56fc993a Change lists style in chat mode 2023-08-28 20:14:02 -07:00
oobabooga
558e918fd6 Add a typing dots (...) animation to chat tab 2023-08-28 13:50:36 -07:00
oobabooga
57e9ded00c
Make it possible to scroll during streaming (#3721) 2023-08-28 16:03:20 -03:00
oobabooga
b2296dcda0 Ctrl+S to show/hide chat controls 2023-08-27 13:14:33 -07:00
oobabooga
8545052c9d Add the option to use samplers in the logit viewer 2023-08-22 20:18:16 -07:00
tdrussell
2da38e89e6
Fix whitespace formatting in perplexity_colors extension. (#3643) 2023-08-22 16:49:37 -03:00
oobabooga
41b98e07fb Minor CSS fix 2023-08-20 22:09:18 -07:00
oobabooga
429cacd715 Add a token counter similar to automatic1111
It can now be found in the Default and Notebook tabs
2023-08-20 19:37:33 -07:00
oobabooga
120fb86c6a
Add a simple logit viewer (#3636) 2023-08-20 20:49:21 -03:00
missionfloyd
4b69f4f6ae
Fix print CSS (#3608) 2023-08-18 01:44:22 -03:00
oobabooga
bdb6eb5734 Restyle the chat input box + several CSS improvements
- Remove extra spacing below the last chat message
- Change the background color of code blocks in dark mode
- Remove border radius from selected header bar elements
- Make the chat scrollbar more discrete
2023-08-17 11:10:38 -07:00
oobabooga
46408465ce
Improved chat scrolling (#3601) 2023-08-17 01:03:40 -03:00
oobabooga
300219b081 Fix <audio> tag width in chat mode 2023-08-16 09:35:10 -07:00
oobabooga
7966989667 Minor CSS fix 2023-08-16 07:25:59 -07:00
oobabooga
73d9befb65 Make "Show controls" customizable through settings.yaml 2023-08-16 07:04:18 -07:00
oobabooga
2a29208224
Add a "Show controls" button to chat UI (#3590) 2023-08-16 02:39:58 -03:00
oobabooga
cc7e6ef645 Fix a CSS conflict 2023-08-13 19:24:09 -07:00
oobabooga
c269214219 CSS change to make buttons smaller 2023-08-13 18:45:13 -07:00
oobabooga
a1a9ec895d
Unify the 3 interface modes (#3554) 2023-08-13 01:12:15 -03:00
oobabooga
65aa11890f
Refactor everything (#3481) 2023-08-06 21:49:27 -03:00
missionfloyd
5134878344
Fix chat message order (#3461) 2023-08-05 13:53:54 -03:00
missionfloyd
2336b75d92
Remove unnecessary chat.js (#3445) 2023-08-04 01:58:37 -03:00
oobabooga
1839dff763 Use Esc to Stop the generation 2023-08-03 08:13:17 -07:00
oobabooga
4b6c1d3f08 CSS change 2023-08-02 20:20:23 -07:00
oobabooga
0e8f9354b5 Add direct download for session/chat history JSONs 2023-08-02 19:43:39 -07:00
oobabooga
0d9932815c Improve TheEncrypted777 on mobile devices 2023-08-02 09:15:54 -07:00
Pete
6afc1a193b
Add a scrollbar to notebook/default, improve chat scrollbar style (#3403)
---------

Co-authored-by: oobabooga <112222186+oobabooga@users.noreply.github.com>
2023-08-02 12:02:36 -03:00
oobabooga
385229313f Increase the interface area a bit 2023-08-01 09:41:57 -07:00
oobabooga
070a886278 Revert "Prevent lists from flickering in chat mode while streaming"
This reverts commit 5e5d926d2b.
2023-07-18 13:23:29 -07:00
oobabooga
5e5d926d2b Prevent lists from flickering in chat mode while streaming 2023-07-17 17:00:49 -07:00
oobabooga
55457549cd Add information about presets to the UI 2023-07-03 22:39:01 -07:00
oobabooga
4b1804a438
Implement sessions + add basic multi-user support (#2991) 2023-07-04 00:03:30 -03:00
missionfloyd
aa1f1ef46a
Fix printing, take two. (#2810)
* Format chat for printing

* Better printing
2023-06-22 16:06:49 -03:00
missionfloyd
2661c9899a
Format chat for printing (#2793) 2023-06-21 10:39:58 -03:00
oobabooga
e1cd6cc410 Minor style change 2023-06-20 00:46:18 -03:00
oobabooga
687fd2604a Improve code/ul styles in chat mode 2023-06-18 15:52:59 -03:00
oobabooga
44f28830d1 Chat CSS: fix ul, li, pre styles + remove redefinitions 2023-06-18 15:20:51 -03:00
oobabooga
0686a2e75f Improve instruct colors in dark mode 2023-06-18 01:44:52 -03:00
oobabooga
8e73806b20 Improve "Interface mode" appearance 2023-06-11 15:29:45 -03:00
oobabooga
a06c953692 Minor style change 2023-06-11 15:13:26 -03:00
oobabooga
ac122832f7 Make dropdown menus more similar to automatic1111 2023-06-11 14:20:16 -03:00
oobabooga
6133675e0f
Add menus for saving presets/characters/instruction templates/prompts (#2621) 2023-06-11 12:19:18 -03:00
oobabooga
ccb4c9f178 Add some padding to chat box 2023-06-06 07:21:16 -03:00
oobabooga
b9bc9665d9 Remove some extra space 2023-06-06 07:01:37 -03:00
oobabooga
ae25b21d61 Improve instruct style in dark mode 2023-06-06 07:00:00 -03:00
oobabooga
0db4e191bd
Improve chat buttons on mobile devices 2023-05-30 00:30:15 -03:00
oobabooga
35009c32f0 Beautify all CSS 2023-05-25 13:12:34 -03:00
oobabooga
c0fd7f3257
Add mirostat parameters for llama.cpp (#2287) 2023-05-22 19:37:24 -03:00
oobabooga
4372eb228c Increase the interface area by 10px 2023-05-22 00:55:33 -03:00
Mykeehu
c98d6ad27f
Create chat_style-messenger.css (#2187)
Add Messenger-like style for chat mode
2023-05-19 11:31:06 -03:00
oobabooga
ce21804ec7 Allow extensions to define a new tab 2023-05-17 01:31:56 -03:00