Dawood Khan
c5bf91385a
Add chat bubble width param ( #5334 )
...
* chat width
* add changeset
* fixes
* fix
* test
* reformat
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2023-08-28 20:48:52 -04:00
pngwn
1dc797adcb
chore: update versions ( #5341 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-08-25 12:07:20 -07:00
Keldos
3341148c10
Fix: wrap avatar-image in a div to clip its shape ( #5319 )
...
* fix: wrap avatar-image in a div to clip its shape
and add data url support
* add changeset
* revert get file from data url
* add changeset
---------
Co-authored-by: Dawood Khan <dawoodkhan82@gmail.com>
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2023-08-25 14:37:45 -04:00
pngwn
632e4d8378
chore: update versions ( #5326 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-08-24 18:47:07 +01:00
pngwn
ba4c6d9e65
chore: update versions ( #5177 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-08-23 15:41:08 -07:00
pngwn
fe057300f0
delegate gradio events via a custom event dispatcher ( #5279 )
...
* delegate gradio events via a custom event dispatcher
* improve md perf + share code
* fix df markdown
* prevent model3d from rerending too frequently
* tweaks
* fix more event bugs with video
* add changeset
* optimise handle mount
* does this do anything
* fix
* remove old dispatches
* fix dropdown position
* oops
* fixes
* fix tests
* fix types
* format
* fix markdown code
* add changeset
* fix typecheck
* fix typecheck
* fix demos
* notebooks
* fix tests
* changer
* maybe this
* fixes
* add changeset
* fix chatbot alignment mobile
* fix chantbot
* add changeset
* changeset
* changeset
* storybook
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2023-08-23 21:48:10 +01:00
Abubakar Abid
cdfd42174a
Tweaks to icon
parameter in gr.Button()
( #5285 )
...
* button
* add changeset
* fix
* add changeset
* add changeset
* types
* type fix
* formatting
* fix based on review
* fix unit tests
* stories
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2023-08-22 15:05:22 -07:00
Dawood Khan
92282cea6a
Chatbot Avatar Images ( #5258 )
...
* avatar images
* images
* add changeset
* fixes
* format
* type fix
* test fix
* format
* fixes
* tuple
* change to tuple
* test fix
* remove index file
* fixes
* save
* test fix
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2023-08-21 17:15:59 -04:00
pngwn
96e4f5b922
remove index files and update test paths ( #5262 )
2023-08-18 16:33:07 +01:00
renovate[bot]
1cefee7fc0
chore(deps): update dependency marked to v7 ( #5112 )
...
* chore(deps): update dependency marked to v7
* add changeset
* fix types
* add changeset
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: pngwn <hello@pngwn.io>
2023-08-18 13:14:14 +01:00
pngwn
ddac7e4d0f
Ensure File component uploads files to the server. ( #5253 )
...
* fix dynamic -> interactive
* fix checks
* add changeset
* add changeset
* fix changeset
* fix linting issues
* fix typing issue
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2023-08-17 12:20:19 -07:00
Hannah
2b397791fe
Fix message text overflow onto copy button in gr.Chatbot
( #5242 )
...
* increase message padding before copy button
* add changeset
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2023-08-16 15:06:34 +01:00
pngwn
fbdad78af4
Lazy load interactive or static variants of a component individually, rather than loading both variants regardless. This change will improve performance for many applications. ( #5215 )
...
* lazy load compoennts more granularly
* add changeset
* format
* add changeset
* fix casing
* fix casing
* fix casing
* revert changelog formatting
* add changeset
* revert changelog formatting
* add changeset
* make interactive updates work
* revert changelog stuff
* fix order
* fix static dataframe
* revert demo change
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2023-08-15 19:21:41 +01:00
Dawood Khan
3b8053469a
Allows code block in chatbot to scroll horizontally ( #5122 )
...
* wrap
* scroll
* add changeset
* fix copy button position
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2023-08-15 10:26:54 -04:00
pngwn
643442e1a5
generate docs json in ci, reimplement main vs release ( #5092 )
...
* fixup site
* fix docs versions
* test ci
* test ci some more
* test ci some more
* test ci some more
* asd
* asd
* asd
* asd
* asd
* asd
* asd
* asd
* asd
* test
* fix
* add changeset
* fix
* fix
* fix
* test ci
* test ci
* test ci
* test ci
* test ci
* test ci
* test ci
* test ci
* test ci
* notebook ci
* notebook ci
* more ci
* more ci
* update changeset
* update changeset
* update changeset
* fix site
* fix
* fix
* fix
* fix
* fix ci
* render mising pages
* remove changeset
* fix path
* fix workflows
* fix workflows
* fix workflows
* fix comment
* tweaks
* tweaks
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2023-08-11 15:54:56 +01:00
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