Dawood Khan
15da39fca0
Multimodal Textbox (Chat Input Component) ( #7420 )
...
* first pass
* multimodal textbox
* add changeset
* remove file
* more changes
* changes
* add changeset
* revert demo
* doc strings fix
* update demo
* file icons
* more updates
* format
* add story
* remove doc line
* type fixes
* chat interface
* new demo
* image upload fix
* ui changes
* addressing PR comments
* format
* type check
* more pr fixes
* format
* format
* test fixes
* test fixes
* Streaming fixes + other stuff
* optional keys to dict value
* final fixes
* notebook
* format
* Update guides/04_chatbots/01_creating-a-chatbot-fast.md
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
* Update guides/04_chatbots/01_creating-a-chatbot-fast.md
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
* Update guides/04_chatbots/01_creating-a-chatbot-fast.md
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
* merge
* backend fixes
* story fix
* ui test fix
* format
* story
* format
* demo fix
* streaming test fix
* stories fix
* stories fix
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2024-03-19 13:16:05 -07:00
pngwn
5d1e8dae5a
batch UI updates on a per frame basis ( #7564 )
...
* changes
* process fe fn tests
* cleanup
* cleanup
* create_target_meta tests and abstraction
* add interactivity detection and tests
* more functions more tests
* add tests for component loader, fix errors
* fix everything
* add changeset
* add changeset
* ci
* cleanup
* cleanup
* test
* fix again
* tweaks
* cleanup
* add changeset
* fix loading_status
* cleanup
* ensure updates have been flushed before making API requests
* add changeset
* df fix
* fixes
* fix dataframe updates
* fix dataframe updates
* remove $open var
* add changeset
* fix tests
* extend timeout for lite
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
Co-authored-by: Hannah <hannahblair@users.noreply.github.com>
2024-03-13 13:46:40 +00:00
Abubakar Abid
355ed666d9
Fix the root_url
logic for streaming files ( #7614 )
...
* fix
* add changeset
* ignore
* add changeset
* changes
* changes
* linting
* demo
* changes
* blocks
* add changeset
* diff
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-03-05 15:21:45 -08:00
Dawood Khan
26356a623c
Fixes: Invalid file_type breaks drag and drop ( #7559 )
...
* file type fix
* add changeset
* pdf test
* format
* test fixes
* file test fix
* file path fix
* new test
* format
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Hannah <hannahblair@users.noreply.github.com>
2024-03-05 16:52:22 -05:00
Abubakar Abid
bd2c695328
Adds a gr.DownloadButton
component ( #7518 )
...
* py
* path
* barebones js
* add changeset
* add changeset
* downloadbutton
* add changeset
* changes
* clog
* commit
* revert'
* fix
* js
* add changeset
* cleanup
* download
* notebooks
* stories
* change
* fix
* format
* download
* Fix updating `icon` parameter (bug resulting from https://github.com/gradio-app/gradio/pull/7528 ) (#7554 )
* fetch 2
* fix
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-02-28 12:07:36 -08:00
aliabid94
ba3ec1300e
Tab select fix ( #7470 )
...
* changes
* add changeset
* changes
* changes
* changes
* Update js/tabs/shared/Tabs.svelte
Co-authored-by: Aarni Koskela <akx@iki.fi>
* 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: Aarni Koskela <akx@iki.fi>
2024-02-21 17:27:58 -06:00
aliabid94
f52cab634b
Dispatch change event for file explorer ( #7441 )
...
* changes
* add changeset
* changes
* changes
* fix test reqs in functional tests
* fix notebooks
* fix notebooks
* fix test flake
---------
Co-authored-by: Ali Abid <aliabid94@gmail.com>
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: pngwn <hello@pngwn.io>
2024-02-16 12:03:10 -06:00
pngwn
805a5136a1
fix test reqs in functional tests ( #7454 )
2024-02-16 17:27:07 +00:00
Dylan Ebert
3e886d8f0a
Model3D Gaussian Splatting ( #7406 )
...
* add gsplat dependency
add gsplat implementation
run formatting
move example .splat and .ply to url
add changeset
dispose of renderer on unmount
notebook
* dynamically load canvas components
2024-02-14 19:10:52 +00:00
pngwn
c2dfc592a4
remove static while pending behaviour ( #7410 )
...
* remove static while pending behaviour
* add changeset
* fix notebooks
* add changeset
* cleanup unused code + fix test
* fix notebooks
* oops
* re-add check
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-02-14 16:15:16 +00:00
Abubakar Abid
065c5b163c
Add .key_up
event listener to gr.Dropdown()
( #7404 )
...
* dropdown choice bug
* add changeset
* add changeset
* changes
* add changeset
* format
* key down:
* change
* change
* format
* add KeyDownData
* changes
* add demo
* notebook
* add changeset
* key up
* notebook
* changes
* Delete .changeset/shaggy-hairs-peel.md
* Delete .changeset/tasty-spies-spend.md
* revert changeset deletion
* change
* fix unit test
* type disable
* fix
* cset
* add changeset
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-02-13 17:14:07 -08:00
aliabid94
65437ce832
Improve File Explorer performance ( #7337 )
...
* changes
* add changeset
* changes
* changes
* add changeset
* changes
* changes
* changes
* changes
* changes
* Update gradio/components/file_explorer.py
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
* Update gradio/components/file_explorer.py
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
* Update demo/file_explorer_component_events/run.py
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
* 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-02-13 16:51:47 -06:00
Abubakar Abid
547517b74e
Small PR to move generate_notebooks.py
to scripts folder ( #7400 )
...
* move generate_notebooks.py to scripts folder
* generate notebooks
* final? fix
2024-02-13 09:05:19 -08:00
Hannah
46b45683e1
Allow applying @media
, @keyframes
and @import
in custom CSS ( #7395 )
...
* allow @media and @keyframes in custom CSS
* add changeset
* demo tweak
* formatting
* fix
* tweak
* add .dark test
* formatting
* add font-face test
* support @import statements
* add changeset
* tweak
* fix test
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-02-13 00:39:30 +01:00
Ari Roffe
10951105b8
Upgrade from numpy's Legacy Random Generator to Random Generator ( #7397 )
...
* Update run.py
* replace all np.random.random with new generator code
* notebooks
---------
Co-authored-by: aroffe99 <ari.roffe@morningstar.com>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2024-02-12 10:20:46 -08:00
Ari Roffe
0dccf825c4
Add step parameter to slider ( #7399 )
...
* Add step parameter to slider
* fix demos
* changes
* tweaks to demo
---------
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2024-02-12 10:06:46 -08:00
Freddy Boulton
a4a990ca05
Custom component 2e2 test ( #7394 )
...
* e2e test
* Add requirements
2024-02-12 10:06:22 -08:00
Hannah
4dc9ffbf70
Store gr.Accordion
's open
value ( #7375 )
...
* store open as writeable val
* add changeset
* add e2e test
* formatting
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-02-10 00:09:59 +01:00
pngwn
a7fa47a175
ensure Dataframes in background tabs are visible when the tab is selected ( #7354 )
...
* add mutation observer to track visibility changes of tabs
* add changeset
* add changeset
* update console.log statements in Svelte component for debugging purposes
* remove unused table_width variable and update console logs in virtual table component
* move visibility check to table
* try dom rect bindings instead
* update binding of viewport_box to correctly calculate viewport height
* remove console.log statements and unused code
* add changeset
* add changeset
* remove unnecessary assignment of t_width in component
* update svelte-check to make ci pass
* update dependencies for happy-dom and vitest
merged from upstream
* add changeset
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-02-09 18:23:05 +00:00
Abubakar Abid
8bb0ce2e40
Hotfix for: stt_or_tts
demo ( #7332 )
...
* fix
* add changeset
* add changeset
* notebooks
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-02-06 22:34:02 +00:00
Dawood Khan
c3e61e4f70
Few File component drag and drop ( #7141 )
...
* file comp fixes
* add changeset
* test fixes
* undo pr fixes
* add changeset
* file type fix
* format
* final fix
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-01-31 16:23:11 -05:00
Abubakar Abid
3c8c4ac2db
Document the gr.ParamViewer
component, and fix component preprocessing/postprocessing docstrings ( #7116 )
...
* add paramviewer to docs
* add changeset
* type fixing
* round to
* format
* revert to make test pass
* remove msg
* add changeset
* annotated image
* annotated image
push
* audio
* changes
* changes
* audio
* audio
* changes
* remove borders from code
* working
* fixes
* add changeset
* formatting
* build fix
* changes
* ls
* more components
* format
* some more
* more
* component
* plots
* buttons
* simple backend
* number
* more
* more
* simple templates
* format
* fixes
* backend
* fix tests
* fix test
* fixes
* formatting
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: aliabd <ali.si3luwa@gmail.com>
2024-01-31 09:36:21 -08:00
Hannah
ded5256c4a
Fix audio recording events not dispatching ( #7158 )
...
* fix audio events and add events test
* add changeset
* add changes to audio demo
* Fix e2e tests
* regenerate notebook
* formatting
* test timeout for e2e
* formatting
* remove value param from stop_recording
* formatting
* fix test
* formatting
* tweak
* test new playwright config
* skip test
* formatting
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2024-01-26 18:13:27 +01:00
AbhishekKr
9949cdc850
Fix fake_diffusion demo by slider to only have int so range() doesn't fail ( #7167 )
...
Signed-off-by: AbhishekKr <abhikumar163@gmail.com>
2024-01-26 11:52:10 -05:00
Freddy Boulton
c60ad4d34a
Use Gallery as input component ( #7148 )
...
* Gallery as input
* add changeset
* Add keep_captions parameter
* revert notebooks
* fix docstring typo
* use tuples
* remove keep_captions
* Update js/app/test/gallery_component_events.spec.ts
Co-authored-by: pngwn <hello@pngwn.io>
* more precise type hint
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: pngwn <hello@pngwn.io>
2024-01-25 18:51:59 -05:00
cswamy
6abad53677
Added polars dataframe support with demo ( #7139 )
...
* first commit
* minor update
* working polars
* fixed. demo added.
* add changeset
* dynamic import of polars
* Fix import logic
* add changeset
* Fix lint
* Add code
* Fix code
* Add code
* remove screenshot'
* delete
* add changeset
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: freddyaboulton <alfonsoboulton@gmail.com>
2024-01-25 12:56:54 -05:00
Abubakar Abid
7d53aa13a3
Miscellaneous doc fixes ( #7131 )
...
* fixes
* few doc fixes
* add changeset
* add changeset
* state in demo
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-01-24 11:52:23 -08:00
Hannah
c35fac049a
Ensure device selection works in Audio when streaming ( #7082 )
...
* Fix microphone device access denied issue
* add changeset
* add microphone test
* create shared DeviceSelect component
* add changeset
* add e2e test
* regen notebooks
* formatting
* Fix e2e test
* formatting
* adjust controls box
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-01-23 10:49:29 +01:00
Hannah
80f8fbf0e8
Add logic to handle non-interactive or hidden tabs ( #7107 )
...
* Refactor change_tab function to handle non-interactive or hidden tabs
* add changeset
* Refactor flashcards app UI and modify test
* Fix formatting
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-01-22 23:31:59 -08:00
Monius
1718c4aeb2
add STL 3D model support ( #7049 )
...
* add STL 3D model support
* add changeset
* add model3D demo with stl support
* add NASA open-soure SOFIA STL model source
* modify model3D instead
* fix notebook
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: freddyaboulton <alfonsoboulton@gmail.com>
2024-01-19 15:08:38 -05:00
Ali Abdalla
45df1ce5d7
add imageeditor component demo ( #7067 )
2024-01-19 00:13:10 +04:00
Dawood Khan
3f139c7c99
Fix File drag and drop for specific file_types ( #6982 )
...
* fix file drag
* add changeset
* pr fixes
* test
* add changeset
* tests
* fix
* type fix
* add changeset
* functional test fix
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Freddy Boulton <alfonsoboulton@gmail.com>
2024-01-17 18:12:15 -05:00
Hannah
ec28b4e7c4
Add visible
and interactive
params to gr.Tab()
( #7018 )
...
* add tabs params and visible logic
* add disabled logic
* add tabbed_interface logic
* add tab accessibility improvements
* Add aria-disabled attribute to tab buttons
* add e2e test
* add changeset
* add changeset
* add tab e2e test
* formatting
* run generate_notebooks.py
* lint
* ensure tabs values update
* remove tabbedinterface logic
* Remove unused parameters from TabbedInterface constructor
* remove test
* add test
* add changeset
* formatting
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-01-17 14:39:10 +01:00
Abubakar Abid
ccf317fc97
Add additional_inputs
, additional_inputs_accordion
parameters to gr.Interface
( #6945 )
...
* guide
* new docs
* changes
* interface
* add changeset
* add changeset
* added basic test
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-01-10 11:44:00 -08:00
aliabid94
6e285be8ed
Fix the reloader ( #6983 )
...
* changes
* add changeset
* changes
* add changeset
* changes
* changes
* changes
* changes
* changes
---------
Co-authored-by: Ali Abid <aliabid@Alis-MacBook-Pro.local>
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-01-09 15:18:07 -08:00
aliabid94
6c863af92f
Fix functional tests ( #6931 )
...
* changes
* add changeset
* add changeset
* changes
* changes
* changes
* add changeset
* changes
* changes
* changes
* changes
* changes
* changes
---------
Co-authored-by: Ali Abid <aliabid@Alis-MacBook-Pro.local>
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2024-01-04 15:39:16 -08:00
Abubakar Abid
b1b78c2168
Fix .select
for gr.Image
, gr.CheckboxGroup
( #6942 )
...
* fix .select for Image, CheckboxGroup
* add changeset
* generate notebook
* fix
* add changeset
* fixes
* add changeset
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-01-04 07:57:18 -08:00
Abubakar Abid
e671e5415f
Allow gr.ClearButton
and gr.DuplicateButton
to be made hidden (and otherwise updated) ( #6932 )
...
* clear visible
* test
* other buttons
* add changeset
* move resource to block cache
* revert
* Revert "revert"
This reverts commit 9830f253ac
.
* notebook
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-01-03 11:29:16 -08:00
Abubakar Abid
48d6534b40
Add show_api
parameter to events, and fix gr.load()
. Also makes some minor improvements to the "view API" page when running on Spaces ( #6846 )
...
* show api
* chnages
* add changeset
* changes
* changes to interface
* set show_api=False
* changes
* development
* examples
* changes
* add changeset
* changes
* changes
* format
* add changeset
* add changeset
* changes
* revert
* fixes
* is vaild
* push
* fixes'
* fixing
* fixes
* format
* fixed
* demo
* test
* format
* add changeset
* fix tests
* fix
* format
* cleanup
* remove
* fixes
* add test
* format
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2023-12-22 11:59:02 -08:00
Dawood Khan
e974cf045c
Custom JS Guide ( #6839 )
...
* guide
* fix
* Update guides/03_building-with-blocks/04_custom-CSS-and-JS.md
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
* Update guides/03_building-with-blocks/04_custom-CSS-and-JS.md
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
* Update guides/03_building-with-blocks/04_custom-CSS-and-JS.md
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
* guide fix
* add changeset
---------
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2023-12-20 21:16:21 -05:00
Abubakar Abid
7bb561a294
Rewriting parts of the README and getting started guides for 4.0 ( #6767 )
...
* doc rewrite
* changes
* changes
* tip
* changes
* notebook
* add changeset
* history
* add
* quickstart done
* readme
* changes
* quickstart
* changes
* reorder
* link
* changes
* changes
* changes
* quickstart done
* readme
* quickstart
* quickstart'
* moving around
* spaces
* readme
* guides
* guides
* links
* readme
* readme
* readme
* readme
* readme
* readme
* readme
* readme
* readme
* readme
* email address
* add changeset
* shorten quickstart
* readme
* Update README.md
* readme
* changes
* Update guides/01_getting-started/01_quickstart.md
Co-authored-by: Ali Abdalla <ali.si3luwa@gmail.com>
* Update guides/01_getting-started/01_quickstart.md
Co-authored-by: Ali Abdalla <ali.si3luwa@gmail.com>
* Update guides/01_getting-started/01_quickstart.md
Co-authored-by: Ali Abdalla <ali.si3luwa@gmail.com>
* changes
* changes
* remove gr.Interface.load
* guides
* changes
* more changes
* changes
* sharing
* concurrency
* changes
* changes
* components
* key features
* event listeners
* features
* notebook
* test
* guides
* changes
* changes
* changes
* transitions
* readme links
* links
* links
* guides
* new gif
* add gif
* update gif
* Update guides/02_building-interfaces/01_more-on-examples.md
* Update guides/03_building-with-blocks/01_blocks-and-event-listeners.md
* Update guides/01_getting-started/01_quickstart.md
Co-authored-by: Ali Abdalla <ali.si3luwa@gmail.com>
* Update guides/01_getting-started/02_key-features.md
Co-authored-by: Ali Abdalla <ali.si3luwa@gmail.com>
* Update guides/01_getting-started/02_key-features.md
Co-authored-by: Ali Abdalla <ali.si3luwa@gmail.com>
* Update guides/02_building-interfaces/00_the-interface-class.md
Co-authored-by: Ali Abdalla <ali.si3luwa@gmail.com>
* Update guides/01_getting-started/01_quickstart.md
Co-authored-by: Hannah <hannahblair@users.noreply.github.com>
* Update guides/01_getting-started/02_key-features.md
Co-authored-by: Hannah <hannahblair@users.noreply.github.com>
* Update guides/01_getting-started/02_key-features.md
Co-authored-by: Hannah <hannahblair@users.noreply.github.com>
* changes
* replace space
* changes
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Ali Abdalla <ali.si3luwa@gmail.com>
Co-authored-by: Hannah <hannahblair@users.noreply.github.com>
2023-12-20 11:07:48 -08:00
Freddy Boulton
992d540c3d
E2E test that Queue Full does not break the client. Also that backend exceptions don't break the client or queue. ( #6812 )
...
* Add test
* Dont launch new app lol
* Remove unused imports
2023-12-18 15:13:44 -05:00
pngwn
f3abde8088
Add an option to enable header links for markdown ( #6831 )
2023-12-18 20:06:20 +00:00
Freddy Boulton
c9673cacd6
Fix directory-only glob for FileExplorer ( #6689 )
...
* Fix glob
* add changeset
* Fix test
* lint
* sort
* Remove empty
* Select directory + test
* Workign fix
* WOrkign fix
* Directory click 😅
* add changeset
* Fix test
* Add dirs
* Select directory + test
* WOrkign fix
* Directory click 😅
* WIP
* add code
* Lint
* Use same color as file icon
* Fix test
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2023-12-12 16:39:11 -08:00
Hannah
128ab5d65b
Ensure checked files persist after FileExplorer rerenders ( #6691 )
...
* add tree_updated flag
* add changeset
* add changeset
* test
* generate notebooks
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2023-12-08 19:27:25 +01:00
renovate[bot]
6b1401c514
chore(deps): update dependency marked to v11 ( #6603 )
...
* chore(deps): update dependency marked to v11
* add changeset
* fixes
* add changeset
* tweaks
* tweaks
* tweaks
---------
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-12-08 11:32:42 +00:00
Freddy Boulton
1086542f17
Render each app in the PR's spaces preview in a separate page ( #6657 )
...
* Use template response
* minor fix
* Return type hint
* add changeset
* Remove return types
* response_class=None
* Use relative path
* SPA
* remove pydantic pin
* Revert
* delete changeset
* Overflow hidden on body
* text gray
* Collapsible sidebar
* max-height
* Use search params
* document.location.search
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2023-12-06 10:53:16 -05:00
Hannah
8fc562a8ab
Add show_recording_waveform
to Audio ( #6551 )
...
* add show_recording_waveform
* add changeset
* add animation
* Refactor audio component and waveform options
* formatting
* add margin before audio controls
* amend default values
* expose gr.WaveformOptions
* Tweak waveform options types and handle none
* add waveform_options to reverse_audio
* tweak bool typing
* notebook
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2023-12-04 14:00:51 -08:00
Freddy Boulton
315659817e
Make FileExplorer work on python 3.8 and 3.9. Also make it update on changes to root, glob, or glob_dir ( #6550 )
...
* Add code
* add changeset
* add changeset
* Add test
* fix
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2023-11-28 05:27:45 -05:00
Hannah
206af31d7c
Improve like/dislike functionality ( #6572 )
...
* amend like/dislike logic
* add like/dislike to chatbot demo and add e2e test
* add changeset
* e2e test changes
* revert chatbot_component changes
* tweak
* generate notebooks
* tweak
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2023-11-24 19:03:18 +01:00