Abubakar Abid
ce4fb994e0
fix spelling of resizable
parameter in gr.Chatbot
( #10625 )
...
* fix spelling
* add changeset
* changes
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2025-02-18 16:36:38 -08:00
Hannah
c354f5ff16
Add empty dataframe functionality ( #10607 )
...
* remove single row logic when value is empty
* fix header cell menu btn
* add add row button
* add changeset
* add changeset
* allow empty df example
* fix janky borders
* fix test
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2025-02-17 22:16:27 +00:00
Hannah
b8ff5d6bfe
Add optional search bar to gr.Dataframe
's toolbar ( #10554 )
...
* add test
* add changeset
* fix test
* amend filter behaviour
* fix label and toolbar placement
* edit story
* update filter logic
* rename show_search_input to show_search
* show_search_input rename
* tweak
* clean up
* clean up
* fix filter logic
* tweak
* fix test
* tweak
* amend show_seach options
* amend typing
* tweak
* amend search/filter behaviour
* clean up
* tweak
* more clean up
* tweak
* tweak
* Revert "tweak"
This reverts commit d22462efcb634c4af2e490e0424474745bb777e4.
* fix test
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2025-02-12 01:28:44 +00:00
Hannah
26494cea57
Allow freezing columns in gr.Dataframe
( #10561 )
...
* add frozen col param
* ensure row numbers are frozen
* add changeset
* validate frozen cols value
* format
* ensure column widths are properly applied
* fix chromatic test
* tweak
* adjust col selection logic
* fix test
* rename frozen_cols to frozen_columns
* restore alternating background
* fix widths
* change implementation
* ensure first col cells can be selected
* fix cell selection in col 1
* Revert "change implementation"
This reverts commit 4fb932809fab9566abdd2fb27033f31faba39027.
* fix widths
* frozen => pinned
* Revert "frozen => pinned"
This reverts commit a37616d2b2b0b4b07b1e2444fe98b74435f70ca6.
* Revert "Revert "frozen => pinned""
This reverts commit f16964d15ccbf08ed3727d79c11322bc18ded2e3.
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2025-02-11 22:29:49 +00:00
Freddy Boulton
bcbb7b69f5
Fix DF Postprocess for tuples ( #10548 )
...
* fix
* add changeset
* add changeset
---------
Co-authored-by: Freddy Boulton <freddyboulton@hf-freddy.local>
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2025-02-10 16:54:07 -05:00
Dawood Khan
3748e4c902
Chatbot allow_tags
( #10507 )
...
* fix
* add changeset
* Update gradio/components/chatbot.py
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
* add changeset
* test
* fix test
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2025-02-07 03:36:29 +00:00
Hannah
ed7a0919ab
Expand and collapse dataframe cells ( #10463 )
...
* - truncate long cell values
- add expand and collapse logic
* add changeset
* tweak
* add max_chars and single click expanding
* - fix test
- add story
* Update gradio/components/dataframe.py
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2025-02-03 22:37:34 +00:00
aliabid94
39f0c23303
Allow image uploads to gr.load_chat ( #10345 )
...
* changes
* add changeset
* changes
* changes
* chagens
* changes
* changes
* chagnges
* changes
* changes
* Update gradio/external.py
* changes
* simplify tests
---------
Co-authored-by: Ali Abid <aliabid94@gmail.com>
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2025-02-03 20:01:11 +00:00
Abubakar Abid
017ed46272
Clean up gr.DataFrame.postprocess()
and fix issue with getting headers of empty dataframes ( #10476 )
...
* changes
* changes
* add changeset
* changes
* format
* changes
* add changeset
* notebook
* fix
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2025-01-31 13:11:49 -08:00
Abubakar Abid
3465fdb190
Format backend with latest ruff
( #10470 )
...
* format
* add changeset
* more ruff
* changes
* update
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2025-01-30 14:13:16 -08:00
Hannah
ca7c47e5e5
Add copy button to dataframe toolbar ( #10461 )
...
* add copy button to df toolbar
* add changeset
* add story
* add show_copy_button param
* copy data with separators and headers
* fix test
* fix test
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2025-01-30 17:12:34 +00:00
Freddy Boulton
324383fb81
Fix typecheck error due to huggingface_hub update ( #10460 )
...
* fix typecheck
* add changeset
* fix test
* fix
* fix
* fix
* matplotlib
---------
Co-authored-by: Freddy Boulton <freddyboulton@hf-freddy.local>
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2025-01-29 11:29:36 -08:00
Abubakar Abid
b7a7e59094
Support presigned URLs with gr.Video, gr.Model3D, and other components ( #10406 )
...
* thanks cursor
* add changeset
* add changeset
* add changeset
* changes
* changes
* video
* changes
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2025-01-23 08:35:53 -08:00
Freddy Boulton
43e7cce2bd
Fix ImageEditor Size Issues ( #10357 )
...
* Fix
* Add test
* Fix
* Format
* add changeset
* rm for now
* Revert "rm for now"
This reverts commit 3cfbe3c577e365d9d14553e9a109bbe09f8170ac.
* rm for now
* tests
* fix tests
* dynamic canvas
* add code
* fix
* Add code
* add code
* crop size deprecation
* fix crop_size
* add code
* typecheck
* fix story
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Suzana Ilic <suzana.ilic.tokyo@gmail.com>
2025-01-22 18:35:00 +00:00
Hannah
feb1e81eca
Add toolbar with fullscreen button to gr.Dataframe
( #10377 )
...
* add toolbar with full screen and copy button
* add changeset
* add params and move toolbar to new file
* remove copy button for now
* add story
* add changeset
* test
* tweak
* tweak
* story fix
* test
* tweak
* changes
* changes
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2025-01-21 15:24:16 -08:00
Hannah
951704346c
Ensure columns hidden with pandas .hide()
works as expected ( #10383 )
...
* check hidden_columns
* add changeset
* add test
* lint
* lint
* fix test
* Update gradio/components/dataframe.py
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
* lint
* lint
* lint
* claude said this will fix the test
* lint
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2025-01-17 14:52:01 -08:00
Hannah
2b7ba48013
Add show_row_numbers
param to gr.Dataframe ( #10376 )
...
* add optional row number column
* add changeset
* weight tweak
* test
* test
* fix test again
* Update gradio/components/dataframe.py
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2025-01-17 20:16:02 +00:00
Abubakar Abid
31cccc3e79
Fix logic for detecting changes in gr.Dataframe
table value ( #10360 )
...
* changes
* changes
* changes
* add changeset
* revert
* add changeset
* change
* changes
* add changeset
* add changeset
* allow non-string headers
* add changeset
* changes
* docs
* remove
* changes
* changes
* revert
* refactoring
* changes
* changes
* revert
* revert
* add changeset
* fix
* add changeset
* clean up
* cleanup
* more cleanup
* notebook
* test
* format
* add changeset
* backend
* format'
* add changeset
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2025-01-17 11:33:11 -08:00
Aman Chauhan
a91cb9c42c
Add show_reset_button
to gr.slider
initialization ( #10340 )
...
* add show_reset_button arg to slider
* add changeset
* add changeset
* changes
* tweaks
---------
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2025-01-13 11:14:27 -08:00
aliabid94
e742dcccb3
Allow users to add a custom API route ( #10332 )
...
* changes
* add changeset
* changes
* add changeset
* changes
* changes
* changes
* chagnes
* changes
---------
Co-authored-by: Ali Abid <aliabid94@gmail.com>
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2025-01-10 11:46:57 -08:00
Abubakar Abid
343503d62e
Support gr.load()
-ing Gradio apps with Blocks.load()
events ( #10324 )
...
* changes
* add changeset
* changes
* changes
* add changeset
* changes
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2025-01-10 18:14:58 +00:00
Freddy Boulton
6b63fdec44
Blocked Paths Fix ( #10304 )
...
* add code
* add changeset
* Fix test
* empty
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2025-01-08 19:29:39 +00:00
Abubakar Abid
f2bd72f9ef
Reset flagged values when switching conversations in chat history ( #10292 )
...
* chat history
* add changeset
* changes
* add changeset
* changes
* changes
* more changes
* changes
* changes
* format
* notebook
* fix test
* changes
* add changeset
* changes
* changes
* changes
* add changeset
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Ali Abid <aliabid94@gmail.com>
2025-01-06 13:59:31 -08:00
Abubakar Abid
890eaa3a9e
Allow displaying SVG images securely in gr.Image
and gr.Gallery
components ( #10269 )
...
* changes
* changes
* add changeset
* changes
* add changeset
* changes
* changes
* changes
* add changeset
* add changeset
* add changeset
* format fe
* changes
* changes
* changes
* revert
* revert more
* revert
* add changeset
* more changes
* add changeset
* changes
* add changeset
* format
* add changeset
* changes
* changes
* svg
* changes
* format
* add changeset
* fix tests
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2025-01-06 13:07:13 -08:00
Abubakar Abid
5ce2832497
Support saving chat history in gr.ChatInterface
( #10191 )
...
* save history prototype
* add changeset
* Declare exports in __all__ for type checking (#10238 )
* Declare exports
* add changeset
* type fixes
* more type fixes
* add changeset
* notebooks
* changes
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Freddy Boulton <alfonsoboulton@gmail.com>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
* Add `gr.BrowserState` change event (#10245 )
* changes
* changes
* add changeset
* format
* changes
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
* history
* changes
* changes
* changes
* history
* changes
* changes
* changes
* format
* add changeset
* changes
* changes
* more changes
* changes
* dataset changes
* changes
* add changeset
* add md variant for button
* add changeset
* changes
* changes
* format
* format
* add changeset
* changes
* changes
* more changes
* changes
* changes
* add changeset
* changes
* docs
* changes
* changes
* changes
* changes
* fix
* fix tests
* change
* add changeset
* fix logo issue
* changes
* version
* add changeset
* fix typecheck
* remove redundant
* pkg version
* add changeset
* changes
* Revert "changes"
This reverts commit 13bfe8c485d049f7d8c6f1e5c13e2bc04ab71dd5.
* reorganize code
* format
* changes
* add to deployed demos
* fix icons
* fix icon
* lint
* changes
* example
* changes
* fix buttons
* add changeset
* format
* add changeset
* update icon
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Dawood <dawoodkhan82@gmail.com>
Co-authored-by: Dmitry Ustalov <dmitry.ustalov@gmail.com>
Co-authored-by: Freddy Boulton <alfonsoboulton@gmail.com>
2025-01-04 17:42:05 +00:00
aliabid94
a1f2649586
Chat Interface flagging and chatbot feedback ( #10272 )
...
* changes
* add changeset
* changes
* Update gradio/flagging.py
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
* Update gradio/chat_interface.py
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
* Update gradio/chat_interface.py
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
* Update gradio/chat_interface.py
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
* Update gradio/chat_interface.py
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
* Update gradio/components/chatbot.py
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
* changes
* changes
* changes
* Update gradio/components/chatbot.py
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
* changes
* changes
* doc changes
---------
Co-authored-by: Ali Abid <aliabid94@gmail.com>
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2025-01-03 14:05:22 +00:00
Dmitry Ustalov
3f192100d6
Declare exports in __all__ for type checking ( #10238 )
...
* Declare exports
* add changeset
* type fixes
* more type fixes
* add changeset
* notebooks
* changes
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Freddy Boulton <alfonsoboulton@gmail.com>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2024-12-23 22:33:22 +00:00
Abubakar Abid
9285dd9eb8
Fix typing for components in gr.Interface
and docstring in image.py
( #10235 )
...
* changes
* add changeset
* changes
* changes
* change
* add changeset
* image.py
* revert msg
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-12-20 19:32:49 -05:00
aliabid94
c3a9e64738
Allow editing chatbot messages ( #10203 )
...
* changes
* add changeset
* changes
* changes
* changes
* changes
* changes
* changes
* changes
* Update gradio/events.py
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
* Update gradio/components/chatbot.py
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
* changes
---------
Co-authored-by: Ali Abid <aliabid94@gmail.com>
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2024-12-19 23:54:20 +00:00
Abubakar Abid
a95f8ef3ee
Add support for returning multiple messages from gr.ChatInterface
chat function ( #10197 )
...
* multiple messages
* filepath
* add changeset
* changes
* changes
* changes
* changes
* changes
* changes
* changes
* changes
* add test
* add changeset
* changes
* add a lot more tests
* changes
* chat
* change
* changes
* chat
* changes
* change demo
* remove test
* changes
* format
* fix
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-12-17 14:46:10 -05:00
Hannah
13a83e5001
Allow reordering files in gr.File ( #10210 )
...
* allow reordering files in gr.File
* add changeset
* fix test
* Update gradio/components/file.py
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2024-12-17 15:03:01 +00:00
Freddy Boulton
25484f4bfb
Group chatbot messages by default ( #10169 )
...
* handle pasted text as file
* test
* add changeset
* remove unneeded test
* update file UI
* add changeset
* Revert "handle pasted text as file"
This reverts commit 1910029f103f89573210ee0a8b62823505a1b1db.
* add changeset
* Revert "test"
This reverts commit 25c17bd8d3505d09cd571382afeeacdec197bd9c.
* story
* remove border
* Revert "add changeset"
This reverts commit 29a91ee9dff771663c414880d10815ffe2f6b961.
* add changeset
* add code
* Code
* add code
* add changeset
* Update solid-hands-nail.md
* code
* add metadata typecheck
* trigger ci
* remove thought css
* Revert "remove thought css"
This reverts commit f1ea8f88f6ced9dc8e8897abdfd529952f851954.
* fix tuples - add borders
* lint
* Fix typecheck
* css tweak
* add code
* fix parameter name
---------
Co-authored-by: Hannah <hannahblair@users.noreply.github.com>
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-12-13 20:11:43 +00:00
Abubakar Abid
c9ba9a4475
Use the modern lower-case Python types in the API typing information ( #10196 )
...
* changes
* add changeset
* add changeset
* add changeset
* changes
* format backend
* format
* fix imagedata
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-12-13 12:10:47 -08:00
aliabid94
9cd291b7f1
Resizeable chatbot ( #10149 )
...
* changes
* add changeset
* changes
* changes
* changes
---------
Co-authored-by: Ali Abid <aliabid94@gmail.com>
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2024-12-11 12:47:15 -08:00
Abubakar Abid
23a2958f5e
Add a .click()
event and padding
parameter to the HTML
component ( #10155 )
...
* add click event to html
* format
* add changeset
* add padding parameter
* fix test
* format
* add changeset
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-12-11 09:00:53 -08:00
Hannah
6645518a66
Tweak Chatbot bubble_full_width
behaviour ( #10132 )
2024-12-07 01:00:18 +00:00
Abubakar Abid
d5ae3a0049
Update devcontainers ( #10146 )
...
* change
* update
* update
2024-12-06 10:08:36 -06:00
Abubakar Abid
5d61c7b701
Fix lazy caching ( #10124 )
...
* fixes
* add changeset
* changes
* add changeset
* test
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-12-04 16:00:28 -06:00
郭文涛
e450674ce4
add webcam_height
and webcam_width
to specify the resolution of the Webcam ( #10032 )
...
* add webcam_height and webcam_width
* update
* A dictionary that allows developers to specify custom media constraints for the webcam stream. This parameter provides flexibility to control the video stream's properties, such as resolution, frame rate, and facing mode (e.g., front or rear camera on mobile devices). Overrides the default height and width settings when provided.
* add changeset
* add code
* Add code
* add changeset
* Fix tests
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: freddyaboulton <alfonsoboulton@gmail.com>
2024-12-03 19:01:47 -05:00
yuvaljacob
b0f3f3a2a2
9484-fix-windows-filepath-unit-tests ( #10089 )
...
* 9484-fix-windows-filepath-unit-tests
* lint
* consistent
* changes
* use pathlib
* changes
---------
Co-authored-by: Yuval Jacobson <yuvalj@liveu.tv>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2024-12-02 15:03:55 -05:00
Abubakar Abid
ebe25bc13f
Fix chatbot/chatinterface type mismatch ( #10080 )
...
* push
* chat type
* add changeset
* add changeset
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-12-01 12:11:43 -05:00
Freddy Boulton
7d134e0b30
Fix example loading issue ( #10038 )
...
* fix
* Add code
* add changeset
* Fix bug
* lint
* add changeset
* fix both cache examples=False,True
* format
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2024-11-27 15:11:06 -05:00
Freddy Boulton
bea3d2e363
Add api_name for ChatInterface ( #10053 )
...
* Add api_name for ChatInterface
* add changeset
* Update gradio/chat_interface.py
* Update test/test_chat_interface.py
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2024-11-27 19:35:48 +00:00
Hannah
a2a3cd466c
Add show_heading
param to gr.Label ( #9987 )
...
* add hide_heading param
* amend hide heading logic for single labels
* add changeset
* add changeset
* fix test
* tweak docstring
* hide_heading -> show_heading
* add changeset
* set show_headings to true
* lint
* fix hidden top label
* fix background fill for ms and webkit
* add changeset
* Update gradio/components/label.py
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2024-11-27 19:26:23 +00:00
Freddy Boulton
ed156e258b
Fix state serialization issue ( #10036 )
...
* Fix bug
* add changeset
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-11-27 14:25:02 -05:00
Abubakar Abid
db162bfc59
enable lazy caching for chatinterface ( #10015 )
...
* lazy chat
* add changeset
* lazy caching
* lazy caching
* revert
* fix this
* changes
* changes
* format
* changes
* add env variable
* revert
* add changeset
* lazy
* fix
* chat interface
* fix test
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-11-23 20:24:55 +00:00
Abubakar Abid
369a44e7f8
Add ability to provide preset response options in gr.Chatbot
/ gr.ChatInterface
( #9989 )
...
* options
* add changeset
* list
* types
* add changeset
* types
* docs
* changes
* more docs
* chatbot
* changes
* changes
* changes
* format
* notebooks
* typedict
* docs
* console logs
* docs
* docs
* styling
* docs
* Update guides/05_chatbots/01_creating-a-chatbot-fast.md
Co-authored-by: Hannah <hannahblair@users.noreply.github.com>
* Update guides/05_chatbots/01_creating-a-chatbot-fast.md
Co-authored-by: Hannah <hannahblair@users.noreply.github.com>
* Update guides/05_chatbots/01_creating-a-chatbot-fast.md
Co-authored-by: Hannah <hannahblair@users.noreply.github.com>
* Update guides/05_chatbots/01_creating-a-chatbot-fast.md
Co-authored-by: Hannah <hannahblair@users.noreply.github.com>
* Update guides/05_chatbots/02_chat_interface_examples.md
Co-authored-by: Hannah <hannahblair@users.noreply.github.com>
* Update guides/05_chatbots/01_creating-a-chatbot-fast.md
Co-authored-by: Hannah <hannahblair@users.noreply.github.com>
* restore
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Hannah <hannahblair@users.noreply.github.com>
2024-11-22 00:19:52 +00:00
郭文涛
4aa0e887a6
Add container parameter
to gr.HTML
component ( #10014 )
...
* add gr.datetime a param 'interactive:bool'
* update html with `container`
* delete irrelevant update
* add changeset
---------
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-11-21 19:54:19 +00:00
Abubakar Abid
c3324d7f7f
Fix issues related to examples and example caching in gr.ChatInterface
( #9990 )
...
* changes
* changes
* add functional tests
* add changeset
* revert
* example format
* chat interface
* replace attribute with str
* replace attribute with function
* fix tests
* changes
* fix
* more changes
* changes
* changes
* demo
* more changes
* typing
* demos
* test
* changes
* changes
* functional tests
* add changeset
* fix pytest
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-11-20 12:57:59 -08:00
Abubakar Abid
e7629f7eac
Adds copy event to gr.Markdown
, gr.Chatbot
, and gr.Textbox
( #9979 )
...
* add copy event
* add changeset
* test
* demo
* changes
* add changeset
* add list format
* typing
* notebook
* copy events'
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-11-19 19:58:19 +00:00