renovate[bot]
96c5bfd44b
chore(deps): update actions/upload-artifact action to v3 ( #5185 )
...
* chore(deps): update actions/upload-artifact action to v3
* fix
* fix
* fix
* fix
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: pngwn <hello@pngwn.io>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2023-08-11 13:09:34 -04:00
Abubakar Abid
b22e1888fc
Fix the images in the theme builder to use permanent URI ( #5188 )
...
* themes-header-image
* add changeset
* add changeset
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2023-08-11 13:01:57 -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
Freddy Boulton
3c00f0fbfb
Install client in PR Build ( #5178 )
...
* Modify ci
* Add quotes
* Modify comment
* Fix comment
* reverse order
2023-08-11 09:32:01 -04:00
Abubakar Abid
ade93a893e
fix toml ( #5175 )
2023-08-10 17:35:53 -04: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
Lucain
947d615db6
Sign in with Hugging Face (OAuth support) ( #4943 )
...
* first draft
* debug
* add print
* working oauth
* inject OAuth profile + enable OAuth when expected + some doc
* add changeset
* mypy
* opt
* open in a new tab only from iframe
* msg
* add changeset
* Apply suggestions from code review
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
* fix injection + gr.Error
* allow third party cookie when possible
* add button to sign in/sign out button
* feedback changes
* oauth as optional dependency
* disable login/logout buttons locally
* nothing
* a bit of documentation
* Add tests for Login/Logout buttons
* Apply suggestions from code review
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
* mention required dependencies
* fix package
* fix tests
* fix windows tests as well
* Fake profile on local debug
* doc
* fix tets
* lint
* fix test
* test buttons
* login button fix
* lint
* fix final tests
---------
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>
2023-08-10 15:12:40 -04:00
Yuvraj Sharma
987725cf6a
Concurrency count rephrase ( #5151 )
...
* Create Gradio_ONNX_on_Hugging_Face.md
* add titles and related spaces
* add clearer description
* add gradio description
* add contribution guide
* add spaces description
* add onnx models description
* first version of document related to onnx/ort/modelzoo
* rewording
Signed-off-by: jcwchen <jacky82226@gmail.com>
* for review
Signed-off-by: jcwchen <jacky82226@gmail.com>
* spaces
Signed-off-by: jcwchen <jacky82226@gmail.com>
* update Gradio desc
* update spaces description
* update onnx description
* add code example
* update title and tags
* add Spaces demo
* add efficientnet-lite4 description
* add ONNX models tag description
* updated by review; onnx.hub
Signed-off-by: jcwchen <jacky82226@gmail.com>
* download from onnx model zoo
* guide on 4 kinds of interfaces
* interfaces
* changelog
* added demo
* added demos and edited markdown
Added standard and unified interface demos, along with updates to the markdown.
* updated notebooks
Updated notebooks with markdown changes and bug fixes
* Replaced blocks code with interface style code
Updated the unified demo example with Interface style demo to keep in sync with other examples in the guide
* added requirements.txt file
requirements file with torch and transformers library
* Update README.md (#5063 )
Fixing the link of building with blocks.
* rephrasing the messaging for concurrency_count and queues
* delete run.ipynb duplicate
* delete duplicate
* Delete run.py
* rephrasing concurrency_count wording
* Update gradio/blocks.py
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
* Update gradio/blocks.py
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
* Update gradio/blocks.py
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
---------
Signed-off-by: jcwchen <jacky82226@gmail.com>
Co-authored-by: AK391 <81195143+AK391@users.noreply.github.com>
Co-authored-by: Chun-Wei Chen <jacky82226@gmail.com>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
Co-authored-by: Esraa Abdelmaksoud <73304837+esraa-abdelmaksoud@users.noreply.github.com>
2023-08-10 20:32:13 +05:30
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
Hannah
144df459a3
Add show_edit_button
param to gr.Audio
( #5149 )
...
* add show_edit_button param
* add changeset
* formatting
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2023-08-09 16:38:07 -04: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
8a84506cee
fix changelogs ( #5156 )
...
* fix changelogs
* remove changeset
2023-08-09 20:09:56 +01:00
Freddy Boulton
80727bbe2c
Fix dataset features and dataset preview for HuggingFaceDatasetSaver ( #5135 )
...
* Add tests
* Use hf token
* lint
* add changeset
* Add empty string for None
* add changeset
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2023-08-09 14:14:12 -04:00
Yuichiro Tachibana (Tsuchiya)
33baf70757
Removed out-dated comment lines ( #5146 )
...
* Removed out-dated comment lines
* add changeset
* removed modified package
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2023-08-09 13:42:50 -04:00
Freddy Boulton
35856f8b54
Return final output for generators in Client.predict ( #5057 )
...
* Add code
* add changeset
* add changeset
* Add feat changeset
* Fix js code snippet
* Fix changelog
* Add test
* Delete code
* Lint
* Make fix for python client
* Make JS client changes
* Add submit line to error
* Changelog
* Lint
* Undo
* Add dual handling
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2023-08-09 13:03:56 -04:00
aliabid94
667875b244
Live audio streaming output ( #5077 )
...
* changes
* add changeset
* changes
* 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>
2023-08-08 15:08:28 -07:00
Abubakar Abid
cd1353fa3e
Fixes the display of minutes in the video player ( #5140 )
...
* video timestamp
* add changeset
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2023-08-08 17:31:51 -04:00
Abubakar Abid
0dc49b4c51
Add support for async functions and async generators to gr.ChatInterface
( #5116 )
...
* add support for async functions and iterators to ChatInterface
* fix api
* added support to examples
* add tests
* chat
* add changeset
* typing
* chat interface
* anyio
* anyio generator
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2023-08-08 15:57:55 -04:00
Sanjaiyan Parthipan
eaa1ce14ac
Enhancing Tamil Translation: Language Refinement 🌟 ( #5136 )
...
* improve Tamil vocabulary 🔡
* add changeset
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2023-08-08 15:35:06 -04:00
Hannah
56d2609de9
Reset textbox value to empty string when value is None ( #5114 )
...
* reset value to empty string when null
* add changeset
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2023-08-08 14:53:57 -04:00
renovate[bot]
61129052ed
Update dependency esbuild to ^0.19.0 ( #5133 )
...
* Update dependency esbuild to ^0.19.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-08-08 12:43:34 -04:00
Charles Bensimon
56b02279ce
Set env with MonkeyPatch ( #5134 )
2023-08-08 12:33:02 -04:00
Charles Bensimon
97d804c748
[Spaces] ZeroGPU Queue fix ( #5129 )
...
* Properly set max_size and concurrency_count for ZeroGPU
* ZeroGPU concurrency_count warning
* Test
* add changeset
* Lint
* Sure, typing_extensions is a third-party ..
* Fix and refactor
* Black
* Empty commit
* add changeset
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2023-08-08 12:18:45 -04:00
Ali Abdalla
b84a35b7b9
Add icon and link to DuplicateButton ( #5111 )
...
* fix icon/link in duplicatebutton
* add changeset
* add changeset
* add icon/link to duplicate
* add changeset
* jsons
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2023-08-07 12:54:36 -04:00
Abubakar Abid
2f3b57a58e
Update typing info for gr.CheckboxGroup
and gr.Radio
( #5119 )
...
* update typing info for checkboxgroup and radio
* add changeset
* add changeset
* lint
* changeset deleted
* add changeset
* delete package
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2023-08-07 11:33:11 -04:00
Hannah
1b017e68f6
Add interactive
args to gr.ColorPicker
( #5118 )
...
* add interactive args to colorpicker
* add changeset
* add changeset
* add colorpicker stories
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2023-08-07 17:25:12 +02:00
sweep-ai[bot]
34f6b22efb
Strip leading and trailing spaces from username in login route ( #5104 )
...
* Update gradio/routes.py
* Update test/test_routes.py
* consolidate test
* add changeset
* update sweep yaml
---------
Co-authored-by: sweep-ai[bot] <128439645+sweep-ai[bot]@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>
2023-08-04 17:37:34 -04:00
Hannah
37caa2e0fe
Add icon and link params to gr.Button
( #5080 )
...
* add icons and link params
* tweak
* add changeset
* prepend icon param with /file=
* prepend icon with /file=
* restore and add button stories
* add changeset
* param description tweak
* tweak param description
* type tweak
* fix i18n in story
* fix formatting
* fix test
* tweak
* fix typo
* fix icon bug
* fix inconsistent width
* remove <a /> target
* styling changes + add story
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2023-08-04 17:47:20 +02:00
Yuichiro Tachibana (Tsuchiya)
3b9494f5c5
Lite: Fix the analytics module to use asyncio to work in the Wasm env ( #5045 )
...
* Fix the analytics module to use asyncio to work in the Wasm env
* add changeset
* add changeset
* Add changeset
* Revert "Add changeset"
This reverts commit 052f2bd737
.
* Add the `is_wasm` field to the analytics telemetry
* Restore the initialization code in Blocks.launch() in the Wasm env
* Remove a call of analytics.version_check() in Blocks.launch() in the Wasm mode
* Add a `type: ignore` directive to the line of importing the `pyodide` module
* Fix a test case
* Refactor _do_wasm_analytics_request() and add a unit test for it
* Get the IP address for analytics in the Wasm mode
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2023-08-04 09:18:14 -04:00
renovate[bot]
13e4783535
chore(deps): update dependency extendable-media-recorder to v8 ( #5085 )
...
* chore(deps): update dependency extendable-media-recorder to v8
* 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-08-04 08:28:58 -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
索毅
d7f83823fb
solve how can I config root_path dynamically? #4968 ( #5081 )
...
* solve how can I config root_path dynamically? #4968
* add changeset
* fixes
* fixes
* fix
---------
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2023-08-03 17:00:25 -04:00
Abubakar Abid
67265a5802
Allow supporting >1000 files in gr.File()
and gr.UploadButton()
( #5075 )
...
* allow supporting >1000 files
* add changeset
* Update client/js/src/client.ts
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2023-08-03 15:29:03 -04:00
Freddy Boulton
2745075a26
Add deploy_discord to docs ( #5076 )
...
* Add deploy_discord to docs
* add changeset
* add jsons
* add changeset
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: aliabd <ali.si3luwa@gmail.com>
2023-08-03 10:07:13 -07:00
Abubakar Abid
136adc9ccb
Ensure gradio_client
is backwards compatible with gradio==3.24.1
( #5061 )
...
* fix to client
* add changeset
* lint
* add changeset
* add changeset
* add changeset
* add changeset
* pin
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2023-08-02 18:06:25 -04:00
Abubakar Abid
7d89716519
gr.Dropdown
now has correct behavior in static mode as well as when an option is selected (#5062 )
...
* dropdown fixes
* add changeset
* add changeset
* guide
* guide
* stories
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2023-08-02 12:32:45 -04:00
Jody Zhou
f5539c7618
Enhancement: Add focus event to textbox and number component ( #5005 )
...
* Add focus event to textbox and number component
* add changeset
* Combine Blurrable and Focusable into Focusable event
* Add focus and blur to Dropdown and Colorpicker components
* add focus to home page template
* Add Focus to doc
* Fix linting error
* fixes
---------
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 Abid <aabid94@gmail.com>
2023-08-01 16:02:50 -04:00
Freddy Boulton
95ea19d65f
Dont format on save for vscode ( #5058 )
...
* Add code
* Dont format on save
* Delete prettier line
2023-08-01 13:13:08 -04:00
Jayce Slesar
0b74a1595b
Use importlib
in favor of deprecated pkg_resources
( #5048 )
...
* fix(pkg_resources): use `importlib` in favor of `pkg_resources`
* lint
* import
* removed unnecessary version check
* fixes
* pass lint and format
* fix
* requirements
* fix all typing issues
* fix routes
* fix
* Delete forty-rooms-arrive.md
* add changeset
---------
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2023-08-01 12:26:02 -04:00
renovate[bot]
75b3a58f14
chore(deps): update dependency vitest to ^0.34.0 ( #5059 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-08-01 12:21:58 -04:00
Ray Tri
8b4eb8cac9
JS Client: Fixes cannot read properties of null (reading 'is_file') ( #5035 )
...
* In transform_output, typeof d can be an object even if the property is_file doesn't exist on d. Therefore invoking d.is_file will error out. This commit fixes that by failing quietly if the is_file property doesn't exist on d.
* Update client.ts - fixed spacing
fixed spacing
* add changeset
---------
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2023-08-01 12:16:20 -04:00
Hannah
883ac364f6
Add step
param to Number
( #5047 )
...
* add step param to number component
* add changeset
* fix test
* fix BE test
* fix test again
* update number.py
* fix test
* test fix
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2023-08-01 12:44:33 +01:00
Hannah
6693660a79
Add download button to selected images in Gallery
( #5025 )
...
* add download button to gallery selected images
* add changeset
* add story
* tweak
* fix href val for internal file paths
* set show_download_button to True by default
* lint backend
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2023-07-31 19:31:49 +02:00
Hannah
5244c5873c
Allow new lines in HighlightedText
with /n
and preserve whitespace ( #5046 )
...
* allow new lines in highlighted text with /n
* add changeset
* preserve white spaces in text
* add changeset
* add changeset
* add highlighted text stories
* add changeset
* fix broken story
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2023-07-31 16:54:29 +02:00
Abubakar Abid
620e464527
gr.Dropdown()
now supports values with arbitrary characters and doesn't clear value when re-focused (#5039 )
...
* changelog
* changes
* add changeset
* fixes
* revert
* add changeset
* python reorder
* add changeset
* fix test
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2023-07-31 08:31:39 -04:00
renovate[bot]
d9700676be
chore(deps): update dependency prettier-plugin-css-order to v2 ( #5043 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-30 00:47:20 -04:00
rajeunoia
f6c491b079
highlightedtext throws an error basing on model ( #5030 )
...
* highlightedtext throws an error basing on model
* add changeset
* add test
---------
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2023-07-29 01:23:27 +03:00
renovate[bot]
c7a20e0970
Update dependency prettier-plugin-svelte to v3 ( #4973 )
...
* chore(deps): update dependency prettier-plugin-svelte to v3
* 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-07-29 00:00:15 +03:00
renovate[bot]
e6317d77f8
Update dependency extendable-media-recorder to v8 ( #5023 )
...
* Update dependency extendable-media-recorder to v8
* 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-07-29 00:00:03 +03:00