Commit graph

340 commits

Author SHA1 Message Date
oobabooga 1b9121e5b8 Add a "refresh" button below the last message, add a missing file 2025-01-11 12:42:25 -08:00
oobabooga a5d64b586d
Add a "copy" button below each message (#6654) 2025-01-11 16:59:21 -03:00
oobabooga 0e94d7075e UI: minor style fix on Windows 2025-01-09 13:12:30 -08:00
oobabooga 4ffc9ffc7a UI: fix a list style 2025-01-08 17:24:38 -08:00
oobabooga d56b500568 UI: add padding to file saving dialog 2025-01-04 16:22:40 -08:00
oobabooga 3815f46838 UI: minor style improvements to chat tab 2025-01-03 04:35:29 -08:00
oobabooga e2702200e1 UI: fix the font size of lists in chat mode 2025-01-02 19:26:50 -08:00
oobabooga 4b3e1b3757 UI: add a "Search chats" input field 2025-01-02 18:46:40 -08:00
oobabooga 973255cb0b UI: fix codeblocks overflowing on mobile 2025-01-02 16:48:49 -08:00
oobabooga 75f1b5ccde UI: add a "Branch chat" button 2025-01-02 16:24:18 -08:00
oobabooga f011787a83 UI: make codeblocks scroll horizontally on overflow 2025-01-01 17:55:18 -08:00
oobabooga 39a5c9a49c
UI organization (#6618) 2024-12-29 11:16:17 -03:00
oobabooga ee3a533e5c UI: improve the message width in instruct mode 2024-12-19 16:11:29 -08:00
oobabooga e2fb86e5df UI: further improve the style of lists and headings 2024-12-19 13:59:24 -08:00
oobabooga c8ddb86c22 UI: improve some light mode colors 2024-12-19 12:24:04 -08:00
oobabooga 24a4c98d42 UI: improve the style of links in messages 2024-12-19 12:23:03 -08:00
oobabooga 836a868abc UI: improve the heading fonts 2024-12-19 12:21:28 -08:00
oobabooga 228caf0f3c UI: add a scrollbar to the right sidebar 2024-12-18 15:33:05 -08:00
oobabooga d01dd2e1c8 UI: fix a margin 2024-12-18 13:35:40 -08:00
oobabooga b27f6f8915 Lint 2024-12-17 20:13:32 -08:00
oobabooga e83235a0cc UI: fix a font color 2024-12-17 20:11:51 -08:00
oobabooga ac0f60eb1a UI: make dropdown menus more readable 2024-12-17 20:02:04 -08:00
oobabooga b051e2c161 UI: improve a margin for readability 2024-12-17 19:58:21 -08:00
oobabooga 517fcc1f23 Better centralize the chat tab 2024-12-16 20:12:16 -08:00
oobabooga d769618591
Improved UI (#6575) 2024-12-17 00:47:41 -03:00
oobabooga 3d19746a5d UI: improve HTML rendering for lists with sub-lists 2024-11-18 10:14:09 -08:00
oobabooga 3aa646c1d0 UI: improve the style of headers in chat messages 2024-07-28 15:26:15 -07:00
oobabooga c5814db173 UI: fix double quotes in instruct mode 2024-07-25 20:22:07 -07:00
oobabooga 14584fda36 UI: don't change the color of italics in instruct mode 2024-07-24 20:55:18 -07:00
oobabooga 1f101ee3e5 UI: improve the quote colors 2024-07-24 18:56:54 -07:00
oobabooga e637b702ff UI: make text between quotes colored in chat mode 2024-07-23 21:30:32 -07:00
oobabooga 95b3e98c36 UI: Fix code syntax highlighting 2024-07-22 23:08:48 -07:00
oobabooga 7e73058943 UI: fix h1/h2/h3/h4 color in light mode 2024-07-22 18:18:02 -07:00
oobabooga af99e0697e UI: increase the font weight of chat messages 2024-07-21 10:45:27 -07:00
oobabooga 916d1d8283 UI: improve the style of code blocks in light theme 2024-07-20 20:32:57 -07:00
Patrick Leiser 9b205f94a4
Fix for issue #6024, don't auto-hide the chat contents (#6247) 2024-07-21 00:05:28 -03:00
oobabooga 19a56dd538 UI: Minor CSS improvement to chat mode 2024-06-30 21:09:54 -07:00
oobabooga 1ea3826333 UI: improve the chat area width on mobile devices 2024-06-30 17:08:23 -07:00
oobabooga da196707cf UI: improve the light theme a bit 2024-06-27 21:05:38 -07:00
oobabooga 3691451d00
Add back the "Rename chat" feature (#6161) 2024-06-25 22:28:58 -03:00
oobabooga e7e1f5901e
Prompts in the "past chats" menu (#6160) 2024-06-25 15:01:43 -03:00
oobabooga a43c210617
Improved past chats menu (#6158) 2024-06-25 00:07:22 -03:00
oobabooga b10d735176 Minor CSS linting 2024-06-19 17:40:33 -07:00
oobabooga 6761b5e7c6
Improved instruct style (with syntax highlighting & LaTeX rendering) (#5936) 2024-04-26 10:13:11 -03:00
oobabooga 13fe38eb27 Remove specialized code for gpt-4chan 2024-04-04 16:11:47 -07:00
oobabooga 723f912c16 Fix the "typing dots" position in latest Gradio version 2024-03-28 12:57:35 -07:00
oobabooga 2a92a842ce
Bump gradio to 4.23 (#5758) 2024-03-26 16:32:20 -03:00
oobabooga 2174958362
Revert gradio to 3.50.2 (#5640) 2024-03-06 11:52:46 -03:00
oobabooga 63a1d4afc8
Bump gradio to 4.19 (#5522) 2024-03-05 07:32:28 -03:00
Lounger 0f68c6fb5b
Big picture fixes (#5565) 2024-02-25 14:10:16 -03:00
oobabooga 717c3494e8 Minor width change after daa140447e 2024-02-18 15:23:45 -08:00
oobabooga 1f27bef71b
Move chat UI elements to the right on desktop (#5538) 2024-02-18 14:32:05 -03:00
oobabooga d8064c00e8 UI: hide chat scrollbar on desktop when not hovered 2024-02-17 20:47:14 -08:00
oobabooga 080f7132c0
Revert gradio to 3.50.2 (#5513) 2024-02-15 20:40:23 -03:00
DominikKowalczyk 33c4ce0720
Bump gradio to 4.19 (#5419)
---------

Co-authored-by: oobabooga <112222186+oobabooga@users.noreply.github.com>
2024-02-14 23:28:26 -03:00
Steven K 512933fa44
Update main.css to allow scrolling in code blocks (#5495) 2024-02-13 16:24:30 -03:00
Yiximail 3fef37cda8
UI: Update position of show-controls label to avoid line breaks due to font size (#5256) 2024-01-17 23:56:48 -03:00
oobabooga 953343cced Improve the file saving/deletion menus 2024-01-09 06:33:47 -08:00
oobabooga 123f27a3c5 Load the nearest character after deleting a character
Instead of the first.
2024-01-09 06:24:27 -08:00
oobabooga 6e9d814095 Change a padding after 4f7e1eeafd 2024-01-09 03:41:31 -08:00
oobabooga 4f7e1eeafd
Past chat histories in a side bar on desktop (#5098)
Lots of room for improvement, but that's a start.
2024-01-09 01:57:29 -03:00
oobabooga 90c7e84b01 UI: improve chat style margin for last bot message 2024-01-01 19:50:13 -08:00
oobabooga a4b4708560 Decrease "Show controls" button opacity 2024-01-01 19:08:30 -08:00
oobabooga c419206ce1 Lint the JS/CSS 2023-12-27 09:59:23 -08:00
oobabooga 63553b41ed Improve some paddings 2023-12-25 14:25:31 -08:00
oobabooga abd227594c Fix a border radius 2023-12-25 14:17:00 -08:00
oobabooga 8d0359a6d8 Rename some CSS variables 2023-12-25 14:10:07 -08:00
oobabooga 5466ae59a7 Prevent input/chat area overlap with new --my-delta variable 2023-12-25 14:07:31 -08:00
oobabooga ae927950a8 Remove instruct style border radius 2023-12-25 08:35:33 -08:00
oobabooga 18ca35faaa Space between chat tab and extensions block 2023-12-25 08:34:02 -08:00
oobabooga 73ba7a8921 Change height -> min-height for .chat 2023-12-25 08:32:02 -08:00
Lounger 554a8f910b Attempt at shrinking chat area when input box grows 2023-12-22 04:51:20 +01:00
Lounger 588b37c032 Add slight padding to top of message container 2023-12-21 22:04:41 +01:00
Lounger 568541aa31 Remove bottom padding on chat tab 2023-12-21 21:48:34 +01:00
Lounger 0dd759c44f Claim more vertical space 2023-12-21 05:42:06 +01:00
Lounger 6fbd64db72 Set borders for all chat styles 2023-12-21 05:00:56 +01:00
Lounger e3e053ab99 UI: Expand chat vertically and handle header wrapping 2023-12-21 03:42:23 +01:00
Lounger f9accd38e0 UI: Update chat instruct styles 2023-12-20 02:54:08 +01:00
Lounger ff3e845b04 UI: Header boy is dropping shadows 2023-12-20 01:24:34 +01:00
Lounger f42074b6c1 UI: Remove header margin on chat tab 2023-12-19 23:27:11 +01:00
oobabooga 3f3cd4fbe4 UI: improve list style in chat modes 2023-12-17 20:26:57 -08:00
oobabooga 7a84d7b2da
Instruct style improvements (#4951) 2023-12-16 22:16:26 -03:00
oobabooga a290d17386 Add hover cursor to bot pfp 2023-11-19 06:56:42 -08:00
oobabooga 5fcee696ea
New feature: enlarge character pictures on click (#4654) 2023-11-19 02:05:17 -03:00
oobabooga 262f8ae5bb Use default gr.Dataframe for evaluation table 2023-10-27 06:49:14 -07:00
oobabooga cea7fc2435 Update html_instruct_style.css 2023-10-22 12:28:23 -07:00
oobabooga 9be74fb57c Change 2 margins 2023-10-20 14:04:14 -07:00
oobabooga e208128d68 Lint the CSS files 2023-10-20 13:02:18 -07:00
oobabooga dedbdb46c2 Chat CSS improvements 2023-10-20 12:49:36 -07:00
oobabooga 71cac7a1b2 Increase the height of the evaluation table 2023-10-15 21:56:40 -07:00
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