Abubakar Abid
ef96d35122
Don't raise warnings when returning an updated component in a dictionary ( #5766 )
...
* testing
* add changeset
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2023-10-02 19:48:32 -07:00
Abubakar Abid
2a5b9e03b1
Added support for pandas Styler
object to gr.DataFrame
(initially just sets the display_value
) ( #5569 )
...
* adding precision to df
* add changeset
* docstring
* precision
* add changeset
* fix
* fixes
* add changeset
* add visual test
* lint
* fixes
* lint
* format
* add changeset
* ts changes
* analytics
* dataframe typing
* typing
* demo
* fix
* lint
* interactive dataframe
* dataframe
* fix typing
* add test
* upgrade pandas version
* fix pandas version
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2023-10-02 14:02:03 -07:00
Abubakar Abid
caf6d9c0e1
Set share=True for all Gradio apps in Colab by default ( #5767 )
...
* Set share=True for all Gradio apps in Colab by default
* add changeset
* fix tests
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2023-10-02 12:51:56 -07:00
Hannah
8f0fed857d
Improve chatbot accessibility and UX ( #5699 )
...
* add a11y changes and css tweaks
* add a11y changes and css tweaks
* change like/dislike/copy buttons ux
* cleanup
* add laout param
* tweak
* add changeset
* fill icon on click
* text alignment tweak
* format + test
* fix browser test
* avatar tweaks
* add stories
* tweak
* tweak
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2023-10-02 19:29:20 +02:00
Hannah
abb5e9df47
Ensure images with no caption download in gallery ( #5735 )
...
* ensure images with no caption download in gallery
* add changeset
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2023-09-29 16:34:28 +02:00
Florian Bruggisser
c9af4f7940
Added timeout and error handling for frpc tunnel ( #5731 )
...
* added timeout and error handling for frpc tunnel
* add changeset
* lint
* typing
* spell
* tunneling
* lint
* strip
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2023-09-28 13:47:14 -07:00
pngwn
898668596d
chore: update versions ( #5712 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-09-28 12:06:09 -07:00
Yuichiro Tachibana (Tsuchiya)
3a48490bc5
Add a bare Component
type to the acceptable type list of gr.load()
's inputs
and outputs
( #5732 )
...
* Add a bare `Component` type to the acceptable type list of `gr.load()`'s `inputs` and `outputs`
* add changeset
* add changeset
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Freddy Boulton <alfonsoboulton@gmail.com>
2023-09-28 11:39:56 -07:00
pngwn
78e7cf5163
ensure internal data has updated before dispatching success
or then
events ( #5705 )
...
* ensure internal data has updated before dispatching then or success events
* ensure internal data has updated before dispatching then or success events
* add changeset
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2023-09-28 11:19:59 -07:00
Abubakar Abid
dba651904c
Fix for deepcopy errors when running the replica-related logic on Spaces ( #5722 )
...
* fix changelogs
* pass
* add changeset
* test
* config
* change
* fixes
* route utils
* add changeset
* add changeset
* add lock
* print
* route url
* replicas
* replicas
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2023-09-28 10:59:31 -07:00
ylhsieh
96c4b97c74
Adjust translation ( #5726 )
...
* Adjust translation
* add changeset
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Hannah <hannahblair@users.noreply.github.com>
2023-09-28 15:47:11 +02:00
Ali Abdalla
84e03fe506
Adds copy buttons to website, and better descriptions to API Docs ( #5721 )
...
* add missing docstring to highlightedtext
* add description to return types in api_docs
* add copy buttons to docs
* fix up descriptions for filepaths
* add copy buttons to every codeblock
* add changeset
* fix backend tests
* add changeset
* better worded descriptions
* fix color_map description
* fix formatting in code snippets
* add space
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2023-09-27 23:23:01 -07:00
Abubakar Abid
e3e47991ac
fix changelogs ( #5718 )
2023-09-27 15:55:23 -07:00
Abubakar Abid
a0fc5a2967
Make Tab and Tabs updatable ( #5714 )
...
* fix
* add changeset
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2023-09-27 14:42:55 -07:00
Dawood Khan
c10dabd6b1
Fixes gr.select() Method Issues with Dataframe Cells ( #5713 )
...
* fixes
* add changeset
* pr fixes
* fix
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2023-09-27 13:24:55 -07:00
Abubakar Abid
d626c21e91
Fully resolve generated filepaths when running on Hugging Face Spaces with multiple replicas ( #5668 )
...
* print
* add changeset
* url
* routes
* routes
* test
* test
* add to / route
* comment
* root_url approach
* replica url
* print
* print
* test
* revert
* fixes
* changes
* replica url fix
* lint
* routes
* routes
* fix
* docstring
* add changeset
* add changeset
* add changeset
* modify in place
* add test
* unit tests
* fix copy
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2023-09-27 12:58:31 -07:00
Charles Bensimon
c2b31c396f
Context-based Progress tracker ( #5693 )
...
* Context-based Progress tracker
* Lint
* add changeset
* Context-based virtual unpatch
* Avoid creating TrackedIterable if not patched
* Fix function_wrapper args
* More correct
* Add some types
* Single Progress instance to allow nested tqdms
* progress_tracker -> progress
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2023-09-27 11:37:26 -07:00
Charles Bensimon
aefb556ac6
fix: prevent internal log_message error from /api/predict
( #5711 )
...
* Prevent erroring on log_message from /api/predict
* add changeset
* add changeset
* add changeset
* updated docstrings
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2023-09-27 11:20:28 -07:00
pngwn
09ac63e818
chore: update versions ( #5702 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-09-26 22:54:51 -07:00
Abubakar Abid
ee8eec1e5e
Fix for regression in rendering empty Markdown ( #5701 )
...
* quick fix
* add changeset
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2023-09-26 22:40:35 -07:00
pngwn
543f327723
chore: update versions ( #5596 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-09-26 14:50:39 -07:00
Dawood Khan
f4e4f82b58
Increase Slider clickable area ( #5697 )
...
* slider click area
* add changeset
* fix
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2023-09-26 15:46:06 -04:00
Abubakar Abid
6b8c8afd98
Fix incorrect behavior of gr.load()
with gr.Examples
( #5690 )
...
* testing
* fixes
* chat fix
* lint
* add changeset
* fix
* simplify
* simplify
* spacing
* remove print
* docstring
* dataset
* lint
* add changeset
* fix test
* add test
* added test
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2023-09-26 12:20:34 -07:00
Abubakar Abid
e51fcd5d54
setting share=True on Spaces or in wasm should warn instead of raising error ( #5696 )
...
* setting share=True on Spaces or in wasm should raise warning instead of error
* tweak
* add changeset
* lint
* add changeset
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2023-09-26 12:13:15 -07:00
Ali Abdalla
b619e6f6e4
Reorganize Docs Navbar and Fill in Gaps ( #5675 )
...
* remove combining-interfaces
* reorg navbar and other changes
* better docs for error, warning, and info
* group them together
* navbar reactively update
* add changeset
* lint
* fix chatinterface test
* fix test again
* revert changes to chatinterface test
* Update gradio/helpers.py
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
* Update gradio/helpers.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: Hannah <hannahblair@hotmail.co.uk>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2023-09-26 02:16:08 -07:00
D V
40de3d2178
add query parameters to the gr.Request
object through the query_params
attribute ( #5681 )
...
* add queryParams to frontend request to backend
* add changeset
* update guide
* added docs
* add changeset
* fix tests
* client
---------
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2023-09-25 22:25:09 -07:00
aliabid94
e1874aff81
Add gr.on
listener method ( #5639 )
...
* changes
* changes
* changes
* changes
* changes
* add changeset
* changes
* changes
* changes
* changes
* changes
* changes
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2023-09-25 15:25:16 -07:00
renovate[bot]
6a36c3b786
chore(deps): update dependency @types/prismjs to v1.26.1 ( #5671 )
...
* chore(deps): update dependency @types/prismjs to v1.26.1
* 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: Abubakar Abid <abubakar@huggingface.co>
2023-09-25 15:04:20 -07:00
Abubakar Abid
2e25d43058
Pause autoscrolling if a user scrolls up in a gr.Textbox
and resume autoscrolling if they go all the way down ( #5652 )
...
* only autoscroll if user hasn't scrolled up
* docstring
* fixes
* add changeset
* format
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2023-09-25 15:03:10 -07:00
Yuichiro Tachibana (Tsuchiya)
9f9af327c9
[Refactoring] Convert async functions that don't contain await
statements to normal functions ( #5677 )
...
* [Refactoring] Convert async functions that don't contain `await` statements to normal functions
* add changeset
* add changeset
* fix tests
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2023-09-25 13:58:01 -07:00
Ali Abdalla
c5e9695596
Fix small issues in docs and guides ( #5669 )
...
* Keep website guides sidebar width consistent
* add next / prev buttons to chatinterface
* add changeset
* sidebar fixes on docs
* clean iframes from guides
* add changeset
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2023-09-25 13:42:32 -07:00
Abubakar Abid
c57f1b75e2
Fix functional tests ( #5682 )
...
* unnamed
* add changeset
* add build
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2023-09-25 13:26:10 -07:00
Yuichiro Tachibana (Tsuchiya)
f661c0733b
Add the brand assets page to the website ( #5643 )
...
* Add the /brand page to the website
* add changeset
* Fix layout
* Put each logo in a different line
* fix footer
* remove unnenecessary header
* better spacing
* Add png files
* Set the size of brand-assets/gradio-logo.svg as 64x64
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: aliabd <ali.si3luwa@gmail.com>
2023-09-25 12:16:43 -07:00
Abubakar Abid
7c34b434aa
Fix width and height issues that would cut off content in gr.DataFrame
( #5616 )
...
* fix dataframe height
* fix widths
* add changeset
* fixes
* format
* case
* add changeset
* dataframe docstring
* format
* fix ts
* test components
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2023-09-25 10:33:19 -07:00
Abubakar Abid
ea0e00b207
Prevent Clients from accessing API endpoints that set api_name=False
( #5653 )
...
* only autoscroll if user hasn't scrolled up
* docstring
* format
* client
* add changeset
* add changeset
* restore
* add changeset
* fix python client, add test
* format
* js client
* format
* add changeset
* add changeset
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2023-09-22 12:55:42 -07:00
Dawood Khan
faad01f8e1
Add render_markdown
parameter to chatbot ( #5604 )
...
* disable markdown
* add changeset
* pr fixes
* format
* add changeset
* new line
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2023-09-22 11:53:09 -07:00
aliabid94
21c7225bda
Improve plot rendering ( #5642 )
...
* changes
* add changeset
* changes
* changes
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Freddy Boulton <alfonsoboulton@gmail.com>
2023-09-22 15:32:49 +00:00
Freckles
d76555a122
Fix secondary hue bug in gr.themes.builder() ( #5660 )
...
* fix: builder_app.py
* add changeset
* add changeset
---------
Co-authored-by: Freddy Boulton <alfonsoboulton@gmail.com>
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2023-09-22 10:46:09 -04:00
Hannah
75ddeb390d
Accessibility Improvements ( #5554 )
...
* allow remove token via keyboard
* more a11y enhancements
* upload + dataset a11y tweaks
* add changeset
* add webcam label
* improve checkbox focus styling and allow interaction via keyboard
* add changeset
* improve radio focus color
* tweak
* add radio label
* add changeset
* add annotated image alt + use button for labels
* button tweaks
* add changeset
* tweak
* more changes
* tiny tweaks
* galley / image
* label tweaks and add semantic tags to confidence
* nit + docstring
* tweak
* add changeset
* fix tests
* unit test fix
* range tweak
* fix alignment in gallery
* range tweak
* slider test tweak
* tweak
* more test fixes
* last? test tweak
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2023-09-22 14:12:26 +02:00
Charles Bensimon
9ccc4794a7
Use ContextVar instead of threading.local() ( #5625 )
...
* Use ContextVar instead of threading.local()
* Test
* add changeset
* Revert "Use ContextVar instead of threading.local()"
This reverts commit 2a76eb46e3
.
* delete changeset
* Un-revert "Use ContextVar instead of threading.local()"
This reverts commit 1481ce027b
.
* add changeset
* Add Request in LocalContext
* Sync + Async test
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2023-09-21 13:20:47 -07:00
Freddy Boulton
fb5964fb88
Fix bug in example cache loading event ( #5636 )
...
* Fix event setup in Examples
* Add code
* add changeset
* no same port
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2023-09-20 15:03:55 -04:00
Abubakar Abid
3414023379
Allow Gradio apps containing gr.Radio()
, gr.Checkboxgroup()
, or gr.Dropdown()
to be loaded with gr.load()
( #5633 )
...
* fix dataframe height
* fix
* lint
* add changeset
* restore
* add changeset
* added comments for clarity
* fix tests
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2023-09-20 11:54:19 -07:00
Ateş Göral
38fafb9e2a
Fix typos in Gallery docs ( #5635 )
...
* Fix typos in Gallery columns and rows docs
* add changeset
* add changeset
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2023-09-20 13:07:57 -04:00
Ali Abdalla
eebf9d71f9
Styling fixes to guides ( #5608 )
...
* fix code font
* add prev and next guides
* fix broken links
* fix
* add changeset
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2023-09-19 12:49:54 -07:00
Dawood Khan
88d43bd124
Fixes avatar image in chatbot being squashed ( #5593 )
...
* gs
* add changeset
* fixes
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2023-09-19 11:01:10 -07:00
Yuichiro Tachibana (Tsuchiya)
6b17143868
Upgrade Pyodide to 0.24.0 and install the native orjson package ( #5598 )
...
* Upgrade Pyodide to 0.24.0 and install the native orjson package
* add changeset
* add changeset
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2023-09-19 10:51:37 -07:00
Abubakar Abid
d1ad1f671c
Attach elem_classes
selectors to layout elements, and an id to the Tab button (for targeting via CSS/JS) ( #5590 )
...
* done
* layouts
* add changeset
* handle undefined case
* format
* add changeset
* add changeset
* simplify
* lint
* lint
* fix
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2023-09-19 10:34:41 -07:00
Hannah
54d21d3f18
Ensure HighlightedText
with merge_elements
loads without a value ( #5602 )
...
* add flag to merge_elements
* add changeset
* add changeset
* tweak
* tweak
* add changeset
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2023-09-19 17:36:05 +01:00
aliabid94
da05e59a53
Removing .update and get_config, attempt 2 ( #5240 )
...
* changes
* add changeset
* changes
* changes
* Update many-tips-create.md
* notebooks
* chanegs
* changes
* changes
* changes
* changes
* changes
* changes
* changes
* changes
* changes
* changes
* changew
* changes
* changes
* changes
* changes
* chanegs
* changes
* changes
* changes
* changes
* changes
* changes
* changes
* changes
* changes
* changes
* changes
* changes
* changes
* Revert "changes"
This reverts commit 0868c25c56
.
* changes
* changes
* changes
* changes
* changes
* changes
* change
* changes
* chaneges
* changes
* chagnes
* changes
* changes
* changes
* changes
* changes
* fix typing
* changes
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
Co-authored-by: Ali Abdalla <ali.si3luwa@gmail.com>
2023-09-18 21:17:06 -07:00
pngwn
51a0a2e557
chore: update versions ( #5578 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-09-18 20:54:50 -07:00
aliabid94
d9e9ae43f5
Guide fixes, esp. streaming audio ( #5534 )
...
* changes
* changes
* add changeset
* add changeset
* add requirements.txt
* req.txt
* guide fix
* backwards compat
* lint
* notebooks
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2023-09-18 16:52:39 -07:00
Dawood Khan
d29b1ab740
Makes sliders consistent across all browsers ( #5535 )
...
* slider changes
* custom slider
* add changeset
* remove line
* format
* Custom slider changes
Co-authored-by: Keldos-Li hi@keldos.me
* style fixes
* format
* add changeset
* slider
Co-authored-by: Keldos <hi@keldos.me>
* stories update
* fix stories
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Keldos <hi@keldos.me>
2023-09-18 16:07:22 -07:00
Dawood Khan
e0d61b8baa
Fix .clear()
events for audio and image ( #5587 )
...
* clear
* add changeset
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2023-09-18 16:06:52 -07:00
Abubakar Abid
acdeff57ec
Allow multiple instances of Gradio with authentication to run on different ports ( #5588 )
...
* Allow gradio auth to work across different ports
* lint
* add changeset
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2023-09-18 12:25:47 -07:00
D V
52f7831751
refactor: Use package.json for version management ( #5514 )
...
* refactor: Use package.json for version management
- uses package.json file for version management.
- updated the regex pattern.
- removed the logic that creates or updates the version.txt file
* load version through package.json
* fix code duplication
* add changeset
* add changeset
* fixes
* fix
* package version
* fix
* typing
* typing
* changes
* add changeset
---------
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2023-09-15 16:23:52 -07:00
pngwn
99e87a45df
chore: update versions ( #5549 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-09-14 15:24:00 -07:00
Abubakar Abid
cb1a7843fc
fix cset ( #5568 )
2023-09-14 15:15:15 -07:00
Ali Abdalla
f0514fc49e
Route docs and guide urls correctly ( #5565 )
...
* fix routing on docs
* fix routing on guides
* remove valid_guide.ts
* add toggle to guides
* add changeset
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2023-09-14 14:41:58 -07:00
Abubakar Abid
fb7b45aa4b
fix changesets again ( #5566 )
2023-09-14 13:09:59 -07:00
Abubakar Abid
ba64082ed8
Fix preprocess for components when type='index' ( #5563 )
...
* fix preprocess for components when type='index'
* add changeset
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2023-09-14 12:54:19 -07:00
renovate[bot]
50d9747d06
chore(deps): update dependency iframe-resizer to v4.3.7 ( #5562 )
...
* chore(deps): update dependency iframe-resizer to v4.3.7
* 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>
2023-09-14 12:21:47 -07:00
EkhiAzur
4ed5902e7d
Adding basque language ( #5550 )
...
* Adding basque language
* add changeset
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2023-09-14 11:49:46 -07:00
Freddy Boulton
d1bf23cd2c
Modify Image examples docstring ( #5553 )
...
* Fix image docstring
* add changeset
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2023-09-14 11:46:56 -07:00
renovate[bot]
b5c6f7b086
chore(deps): update dependency pyodide to ^0.24.0 ( #5538 )
...
* chore(deps): update dependency pyodide to ^0.24.0
* 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>
2023-09-14 18:08:04 +09:00
Chaeheum Park
290f518716
fix: typo in UploadButton's docstring ( #5547 )
...
* fix: typo in UploadButton's docstring
* add changeset
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2023-09-14 01:20:27 -07:00
pngwn
aee3757ad8
chore: update versions ( #5543 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-09-14 00:52:36 -07:00
Abubakar Abid
85579b63da
fix changelog ( #5546 )
2023-09-14 00:13:20 -07:00
Abubakar Abid
a0cc9ac931
Fixes dropdown breaking if a user types in invalid value and presses enter ( #5544 )
...
* fix dropdown behavior
* tests
* tweak
* add changeset
* format
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2023-09-14 00:03:59 -07:00
Abubakar Abid
301c787821
allow gr.Image() examples to take urls ( #5537 )
...
* allow gr.Image() examples to take urls
* add changeset
* fix test
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2023-09-13 21:30:58 -07:00
pngwn
a80a66537a
chore: update versions ( #5527 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-09-13 13:11:27 -07:00
Abubakar Abid
6cfcf7b796
fix changesets ( #5532 )
2023-09-13 12:49:28 -07:00
Hannah
21f1db40de
Ensure input value saves on dropdown blur ( #5525 )
...
* save input on dropdown blur
* set input_value
* add changeset
* add changeset
* add changeset
* add test
* tweak blur logic
* remove unused funcs
* nit
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2023-09-13 12:42:30 -07:00
Abubakar Abid
81c9ca9a2e
Fix .update()
method in gr.Dropdown()
to handle choices
( #5529 )
...
* Fix .update() method in gr.Dropdown()
* add changeset
* oops docstring
* format
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2023-09-13 11:25:37 -07:00
aliabid94
dc86e4a7e1
Lazy load all images ( #5528 )
...
* changes
* add changeset
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2023-09-13 10:33:04 -07:00
hysts
c5fe8ebadb
Fix docstring of dropdown ( #5516 )
...
* Fix
* add changeset
* add changeset
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2023-09-13 10:07:16 -07:00
pngwn
ef4ca645a1
chore: update versions ( #5476 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-09-12 19:31:08 -07:00
Ali Abdalla
df623e743a
Toggle main vs versioned demos on website and show install snippet ( #5481 )
...
* Chagnes
* demos updating correctly
* wheel
* rework
* add changeset
* add warning about share=true
* Add to other pages
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2023-09-12 19:03:11 -07:00
Hannah
d112e2611b
Allow interactive input in gr.HighlightedText
( #5400 )
...
* add preprocess param to highlighted_text.py
* add params
* static tweaks
* add interactive highlight container
* highlight selection logic
* allow editing label value and move shared funcs
* add changeset
* remove py code
* wait for input render
* remove redundant event listeners
* accessibility enhancements and remove label logic
* add keyboard navigation and interaction
* merge adjacent empty elements and split input element
* add interactive support for scores mode
* remove merge adjacent logic and move to frontend
* tweak
* add changeset
* format backend
* tweaks
* backend test tweaks
* set the interactive default to None
* BE tweak
* unit tests and stories
* be formatting
* fix label errors
* tweak
* fix tests
* fix tests
* fix test
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2023-09-12 18:47:16 -07:00
Abubakar Abid
05715f5599
Adds a filterable
parameter to gr.Dropdown
that controls whether user can type to filter choices ( #5508 )
...
* dropdown
* changes
* add changeset
* refactor
* cleanup
* dropdown
* more refactoring
* fixes
* simplify, docstring
* restore active_index
* split into two files
* new files
* simplify
* single select dropdown working
* single select dropdown almost working
* dropdown
* multiselect
* multiselect wip
* multiselect
* multiselect
* multiselect
* interactive working
* dropdown
* lint
* add changeset
* type
* typing
* fix multiselect static
* dropdown
* stories and tests
* split stories
* lint
* add changeset
* revert
* add changeset
* fix x
* dropdown
* lint, test
* backend fixes
* lint
* fix tests
* lint
* fix final test
* clean
* review fixes
* dropdown
* lint
* lint
* changes
* typing
* fixes
* active index null bug
* adding filterable parameter to dropdown
* dropdown
* lint
* add changeset
* add changeset
* svelte
* fix test
* add changeset
* added warning
* lint
* fix tests
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2023-09-12 18:36:29 -07:00
Dawood Khan
8909e42a7c
Adds autoscroll
param to gr.Textbox()
( #5488 )
...
* autoscroll param
* add changeset
* fix
* test fix
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2023-09-12 18:25:03 -04:00
Abubakar Abid
afcf3c48e8
Do not expose existence of files outside of working directory ( #5510 )
...
* reorder for security
* add changeset
* routes
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2023-09-12 12:29:09 -07:00
Abubakar Abid
82ec4d2622
Allow interface with components to be run inside blocks ( #5496 )
...
* allow interface to run inside blocks
* fix test
* change
* add changeset
* format
* fixes
* fixes
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2023-09-12 12:25:46 -07:00
Razhan Hameed
c60b89b0a5
Adding Central Kurdish ( #5475 )
...
* adding Central Kurdish
* add changeset
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Hannah <hannahblair@users.noreply.github.com>
2023-09-12 18:14:34 +01:00
Abubakar Abid
ddc02268f7
Allows the gr.Dropdown
to have separate names and values, as well as enables allow_custom_value
for multiselect dropdown ( #5384 )
...
* dropdown
* changes
* add changeset
* refactor
* cleanup
* dropdown
* more refactoring
* fixes
* simplify, docstring
* restore active_index
* split into two files
* new files
* simplify
* single select dropdown working
* single select dropdown almost working
* dropdown
* multiselect
* multiselect wip
* multiselect
* multiselect
* multiselect
* interactive working
* dropdown
* lint
* add changeset
* type
* typing
* fix multiselect static
* dropdown
* stories and tests
* split stories
* lint
* add changeset
* revert
* add changeset
* fix x
* dropdown
* lint, test
* backend fixes
* lint
* fix tests
* lint
* fix final test
* clean
* review fixes
* dropdown
* lint
* lint
* changes
* typing
* fixes
* active index null bug
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2023-09-12 09:58:18 -07:00
Hannah
9ee20f499f
Validate i18n file names with ISO-639x ( #5505 )
...
* validate i18n files
* add changeset
* lockfile
* test
* remove log
* Rename zh-tw.json to zh-TW.json
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2023-09-12 17:39:15 +01:00
Dawood Khan
a4e010a96f
Fix share button position ( #5470 )
...
* fix share button position
* add changeset
* top padding
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2023-09-11 16:55:25 -04:00
Yuichiro Tachibana (Tsuchiya)
b271e73886
Remove except asyncio.CancelledError which is no longer necessary due to 53d7025
( #5473 )
...
* Remove `except asyncio.CancelledError` which is no longer necessary due to 53d7025
* add changeset
* add changeset
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2023-09-11 14:39:52 -04:00
Yuichiro Tachibana (Tsuchiya)
041560f9f1
Fix queueing.call_prediction to retrieve the default response class in the same manner as FastAPI's implementation ( #5474 )
...
* Fix `queueing.call_prediction` to retrieve the default response class in the same manner as FastAPI's implementation
* add changeset
* add changeset
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2023-09-11 14:22:06 -04:00
Hannah
bd2fda77fc
Dispatch stop_recording
event in Audio ( #5459 )
...
* add stop recording event dispatch
* add changeset
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2023-09-11 10:45:06 +01:00
pngwn
3e1e8fc5d2
chore: update versions ( #5457 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-09-08 12:36:03 +01:00
pngwn
6e381c4f14
ensure dataframe doesn't steal focus ( #5456 )
...
* ensure dataframe doesn't steal focus
* add changeset
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2023-09-08 12:28:11 +01:00
pngwn
acabe4ed42
chore: update versions ( #5446 )
2023-09-07 23:31:34 +01:00
pngwn
7a4a89e5ca
ensure iframe is correct size on spaces ( #5447 )
2023-09-07 23:18:34 +01:00
pngwn
67bb7bcb6a
ensure dataframe doesn't scroll unless needed ( #5445 )
...
* ensure dataframe doesn't scroll unless needed
* add changeset
* add changeset
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2023-09-07 17:26:58 -04:00
pngwn
710cbb67fc
chore: update versions ( #5419 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-09-07 13:26:14 -07:00
Chaitanya Giri
aad7acd712
Add sort to bar plot ( #5427 )
...
* Add sort to bar plot
* remove reverse parameter from barplot class
* add changeset
* Rename sort_by to sort in BarPlot class
* Add test
---------
Co-authored-by: Freddy Boulton <alfonsoboulton@gmail.com>
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2023-09-07 15:54:32 -04:00
pngwn
afac000633
significantly improve the performance of gr.Dataframe
for large datasets ( #5342 )
...
* virtualise the dataframe
* add changeset
* fix non visible df
* add changeset
* tweak width calculation
* check client
* add changeset
* fix weird heights
* add changeset
* remove logs
* add changeset
* fix height measurement
* fix tests
* fix rendering for short dataframes
* cleanup
* add changeset
* fix scroll and loading
* fix scollbars and loading border
* fix scollbars and loading border
* add changeset
* fix many bugs
* fixes
* maybe this
* tweaks
* fix everything
* notebooks
* remove comments
* fix things
* fix visibility issue
* tweak
* fix demos
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2023-09-07 19:36:42 +01:00
Freddy Boulton
7ab4b70f68
api_open does not take precedence over show_api ( #5436 )
...
* Fix bug
* Fix
* add changeset
* Add code
* Fix docstring
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2023-09-07 13:22:55 -04:00
Dawood Khan
d14d63e30c
Auto scroll to bottom of textbox ( #5417 )
...
* scroll
* add changeset
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2023-09-07 11:53:03 -04:00
Freddy Boulton
26fef8c7f8
Skip view_api request in js client when auth enabled ( #5412 )
...
* Add code
* add changeset
* Remove console
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2023-09-06 15:19:41 -04:00