Commit Graph

15 Commits

Author SHA1 Message Date
renovate[bot]
25e021157f
chore(deps): update dependency @types/marked to v5 (#4618)
* chore(deps): update dependency @types/marked to v5

* fix types

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: pngwn <hello@pngwn.io>
2023-06-22 10:34:54 +01:00
Hannah
2efa0b27ff
Add target="_blank" to links in markdown (#4577)
* add DOMPurify afterSanitizeAttributes hook

* changelog
2023-06-21 12:47:03 +02:00
aliabid94
74d235697d
Fix chatbot height (#4540)
* changes

* changes

* changes

* changes
2023-06-15 14:58:31 -07:00
aliabid94
42d762c616
Chatbot streaming hotfix (#4537)
* changes

* changes

* changes

* changes
2023-06-15 13:24:40 -07:00
pngwn
e7ab0f323a
4614 chatbot (#4527)
* fix code rendering

* tweak

* changelog

* tweaks
2023-06-15 16:24:17 +01:00
Dawood Khan
03edbc6f81
Adds Latex Delimiters Parameter (#4516)
* katex

* changes

* format

* fix test

* remove None

* changelog

* Update gradio/components/chatbot.py

* Update gradio/components/chatbot.py

* tweak

---------

Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
Co-authored-by: pngwn <hello@pngwn.io>
2023-06-15 14:27:18 +01:00
Dawood Khan
72fbce22ad
Fixes new line issue in chatbot (#4491)
* fix

* Update CHANGELOG.md
2023-06-14 11:43:30 -04:00
aliabid94
ff6e676a92
Remove style parameter (#4374)
* changes

* changes

* changes

* changes

* changes

* changes

* fixes

* changes

* changes

* changes

* changes

* changes

* changes

* changes

* changes

* changes

* changes

* changes

* changes

* changes
2023-06-07 18:35:31 -07:00
binary-husky
2a30deed84
fix copy button invalid & copy button (invisible) duplication bug in chatbot (#4350)
* fix a copy button duplication bug in chatbot

* fix copy button invalid issue

* Update CHANGELOG.md: Fixed Copy Button

* fix changelog typo

* switch to static HTML + event delegation for copy button

* fix

* format + notebooks

* format + notebooks

---------

Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
Co-authored-by: pngwn <hello@pngwn.io>
2023-06-01 22:51:36 +09:00
Dawood Khan
01d334b0b9
Use DOMPurify to sanitize html in chatbot (#4360)
* dompurify

* changelog

* format

* clean

* changelog

* Update run.py

* update happy-dom

---------

Co-authored-by: pngwn <hello@pngwn.io>
2023-06-01 21:52:24 +09:00
Dawood Khan
12470571c9
Katex support in chatbot (#4285)
* katex

* katex support

* changelog

* fixes

* pr fixes

---------

Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2023-05-21 15:41:09 +09:00
Dawood Khan
7145327058
Using marked for chatbot markdown parsing (#4150) 2023-05-18 08:55:46 -07:00
Dawood Khan
c06901ed05
Chatbot code syntax highlighting (#4048)
* first pass

* fixes

* more fixes

* remove breaks

* format

* version

* pr fixes

* changelog

* test fix

* background color

* format

* revert test fix

* changes

* changes

* test

* changes

* changes

* changes

* changes

* changes

---------

Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
Co-authored-by: Ali Abid <aabid94@gmail.com>
2023-05-04 03:28:39 -05:00
Dawood Khan
c772c6ae57
Fixes chatbot does not display code blocks correctly (#3816)
* fix

* changelog

* Update CHANGELOG.md

* style code blocks

* next beta version for release

---------

Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2023-04-12 14:04:47 -07:00
pngwn
ae4277a9a8
move files (#3605)
* move files

* commit the rest of the files

* fix lockfile

* fix workflow

* fix type errors

* fix tests

* only run ci when certain files change

* run correct test command in ci

* version

* fix pypi script

---------

Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2023-03-27 16:12:58 -07:00