Artem Kotov
1ecf88ac5f
fix #5229 ( #5235 )
...
* fix #5229
* add changeset
* add simple test for #5229 similar to default one
* Lint
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Freddy Boulton <alfonsoboulton@gmail.com>
2023-08-16 10:36:45 -04:00
Hannah
2b397791fe
Fix message text overflow onto copy button in gr.Chatbot
( #5242 )
...
* increase message padding before copy button
* add changeset
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2023-08-16 15:06:34 +01:00
Abubakar Abid
87f1c2b4ac
Allow gr.Interface.from_pipeline()
and gr.load()
to work within gr.Blocks()
( #5231 )
...
* add test
* external
* fixed in external
* add changeset
* close demo
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2023-08-15 22:28:19 -07:00
Tom Aarsen
b2f49cfa36
typo: addion -> addition ( #5234 )
2023-08-15 15:43:11 -04:00
pngwn
fbdad78af4
Lazy load interactive or static variants of a component individually, rather than loading both variants regardless. This change will improve performance for many applications. ( #5215 )
...
* lazy load compoennts more granularly
* add changeset
* format
* add changeset
* fix casing
* fix casing
* fix casing
* revert changelog formatting
* add changeset
* revert changelog formatting
* add changeset
* make interactive updates work
* revert changelog stuff
* fix order
* fix static dataframe
* revert demo change
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2023-08-15 19:21:41 +01:00
Dawood Khan
3b8053469a
Allows code block in chatbot to scroll horizontally ( #5122 )
...
* wrap
* scroll
* add changeset
* fix copy button position
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2023-08-15 10:26:54 -04:00
Freddy Boulton
e8fd4e4ec6
Completely hide api page if show_api=False ( #5219 )
...
* Add code
* add changeset
* type check
* CHANGELOG
* Update dirty-snails-love.md
* Add test
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2023-08-15 10:07:53 -04:00
pngwn
640397075d
add gradio as a devdep of @gradio/lite ( #5226 )
...
* add gradio as a devdep of @gradio/lite
* add gradio as a devdep of @gradio/lite
* add changeset
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2023-08-15 10:36:33 +01:00
pngwn
2e61a6612a
pin local dependencies when auto-bumping ( #5222 )
...
* pin local dependencies when auto-bumping
* better jsdoc
2023-08-14 21:13:38 +01:00
jonmatthis
ae58f8985c
update to remove deprecation
warnings ( #5200 )
2023-08-14 14:51:10 +01:00
Ray Tri
730f0c1d54
Ensure gradio client works as expected for functions that return nothing. ( #5173 )
...
* fixed issue with the js client expecting optional api_info from python gradio runner
* add changeset
* add changeset
---------
Co-authored-by: pngwn <hello@pngwn.io>
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2023-08-14 14:50:32 +01:00
pngwn
43f3d3d77c
test ( #5195 )
...
* test
* add changeset
* ci tweaks
* ci tweaks
* fix
* fix
* delete changeset
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2023-08-14 14:39:20 +01:00
renovate[bot]
4844303e8d
chore(deps): update dependency @testing-library/jest-dom to v6 ( #5201 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-08-14 14:36:37 +01:00
Freddy Boulton
24b66e1cff
homepage demo update ( #5186 )
...
* homepage demo update
* add changeset
* Fix spacing
* Switch demo order
* asd (#5191 )
* asd (#5192 )
* homepage demo update
* Fix spacing
* add changeset
* Switch demo order
* remove endocardiogram
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: pngwn <hello@pngwn.io>
2023-08-11 19:04:49 -04:00
pngwn
7334a4b182
Debug ci ( #5194 )
...
* ci tweaks
* ci tweaks
* ci tweaks
* ci tweaks
2023-08-11 22:29:59 +01:00
pngwn
2b8846f395
ci debug ( #5193 )
...
* ci tweaks
* ci tweaks
2023-08-11 22:00:32 +01:00
pngwn
5adc2fd703
asd ( #5192 )
2023-08-11 20:24:20 +01:00
pngwn
7d884a98ad
asd ( #5191 )
2023-08-11 19:41:12 +01:00
pngwn
4d41f8d3d9
Ci fixes asd ( #5190 )
...
* tweaks
* tweaks
* asd
* asd
2023-08-11 19:21:39 +01:00
pngwn
0b4642321a
tweaks ( #5189 )
...
* tweaks
* tweaks
2023-08-11 18:51:34 +01:00
aliabid94
6fb92b48a9
Fixes audio streaming issues ( #5179 )
...
* changes
* changes
* version bump
* version bump
* version
* 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-11 13:16:30 -04:00
renovate[bot]
f440e7c3bb
chore(deps): update actions/download-artifact action to v3 ( #5184 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2023-08-11 13:10:59 -04:00
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