Commit Graph

81 Commits

Author SHA1 Message Date
pngwn
9d1bd28bdf
chore: update versions (#5038)
* chore: update versions

* update actions

* update changelog

* other changelgo

* extra

---------

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2023-08-10 16:59:00 -04:00
Jiri Puc
80be7a1ca4
chatbot conversation nodes can contain a copy button (#5125)
* chatbot conversation nodes can contain a copy button

* add changeset

* the newly added chatbot copy message button is now called show_copy_button

* chatbot's Copy component styling improved

* chatbot's Copy component - typing fix

---------

Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2023-08-10 10:11:26 -04:00
aliabid94
abec340a54
Share all media content in chat (#5159)
* test

* test

* changes

* changes

* changes

---------

Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2023-08-09 16:02:57 -07:00
Jae-Won Chung
22aa5eba3f
Use font size --text-md for <code> in Chatbot messages (#5137)
* Use --text-md for <code> in Chatbot message

* add changeset

* Update js/chatbot/static/ChatBot.svelte

Co-authored-by: Hannah <hannahblair@users.noreply.github.com>

---------

Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Hannah <hannahblair@users.noreply.github.com>
2023-08-09 15:10:45 -04:00
pngwn
1419538ea7
Refactor component directories (#5074)
* asd

* changes

* fix everything

* cleanup

* add changeset

* fix casing

* lockfile

* fix casing

* fix ci, enable linting

* fix test

* add changeset

* add changeset

* delete changeset

* fix dirs

* fix casing

* fix notebooks

* fix casing

* fix casing

* fix casing

* fix casing

* fix casing

* fix casing

* fix casing

* fix casing

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2023-08-03 23:01:18 +01:00
pngwn
861d752a83
chore: update versions (#4999)
* chore: update versions

* undo diff

---------

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: freddyaboulton <alfonsoboulton@gmail.com>
2023-07-26 17:10:24 -04:00
pngwn
62306d9ed1
unified release process (#4986)
* Implement unified version and release mechanism for all python and javascript packages.

* Update gradio/package.json

Co-authored-by: Abubakar Abid <abubakar@huggingface.co>

* fix changelog

* fix changelog

* Update js/button/README.md

* Update .github/workflows/generate-changeset.yml

---------

Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2023-07-21 19:13:21 +01:00
Abubakar Abid
683bdf7623
Release 3.38 (#4991)
* release

* changelog

* changelog

* changelog

* chatbot

* remove test

* Add code

* add min width to submit button

---------

Co-authored-by: freddyaboulton <alfonsoboulton@gmail.com>
2023-07-21 00:57:35 +03:00
Freddy Boulton
c57a4e2729
Add css variable for controlling chatbot user message border accent (#4989)
* Add css variable

* Fix var name

* Add CHANGELOG
2023-07-20 16:47:01 -04:00
Abubakar Abid
1f5c090cb5
Release 3.37 (#4947)
* version

* ltr
2023-07-17 14:52:39 -04:00
aliabid94
f2fd37ee59
Fix gr.Group, container=False (#4916)
* changes

* changes

* changes

* changes

* changes

* fix

* changes

* changes

* Deploy group demo

* changes

* changes

---------

Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
Co-authored-by: freddyaboulton <alfonsoboulton@gmail.com>
2023-07-17 10:05:46 -07:00
Abubakar Abid
b16732ffb2
Add RTL support to Textbox, Markdown, Chatbot (#4933)
* add rtl support

* redo

* remove param

* clog

* fix backend tests; add textbox story

* add textbox story

* fix textbox story

* fixed textbox story, markdown

* markdown story

* format

* fixes'

* Update CHANGELOG.md

* update docstrings

* fix tests

* fix static checks

* fix tests
2023-07-17 12:53:23 -04:00
pngwn
3a4b1d8f8b
move all of the chatbot component in to js/chatbot (#4900)
* changes

* fix test

* changes
2023-07-13 17:41:47 +01:00
Dawood Khan
504c9d9d06
Add hyperlinks to download files in chatbot (#4848)
* add file links

* changelog
2023-07-10 10:34:01 -04:00
aliabid94
b8eb481473
Share button (#4651)
* changes

* changes

* changes

* changes

* changes

* changes

* changes

* changes

* changes

* changes

* changes

* changes

* changes

* restore

* merge

* del image'

* update pnpm lock

* changes

* changes

* changes

* changes

* changes

* Update CHANGELOG.md

Co-authored-by: Abubakar Abid <abubakar@huggingface.co>

* changes

* fix

* changes

* changes

* changes

* changes

* changes

* changes

* changes

* changes

* changes

* changes

* chagnes

* changes

* changes

* changes

* changes

---------

Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
Co-authored-by: pngwn <hello@pngwn.io>
2023-07-05 19:50:17 -05:00
Dawood Khan
156bb26280
more tests (#4745)
Co-authored-by: pngwn <hello@pngwn.io>
2023-07-04 15:41:50 +01:00
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