Freddy Boulton
119c834331
Faster reload mode ( #5267 )
...
* This works
* Add code
* Final touches
* Lint
* Fix bug in other dirs
* add changeset
* Reload
* lint + test
* Load from frontend
* add changeset
* Use key
* tweak frontend config generation
* tweak
* WIP ipython
* Fix robust
* fix
* Fix for jupyter notebook
* Add checks
* Lint frontend
* Undo demo changes
* add changeset
* Use is_in_or_equal
* python 3.11 changes and no if __name__
* Forward sys.argv + guide
* lint
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: pngwn <hello@pngwn.io>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2023-08-29 17:29:15 -04:00
renovate[bot]
61803c6545
chore(deps): update dependency extendable-media-recorder to v9 ( #5370 )
...
* chore(deps): update dependency extendable-media-recorder to v9
* 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-29 12:02:35 -07:00
Dawood Khan
0cc7e2dcf6
Hide avatar when message none ( #5366 )
...
* hide avatar when message none
* add changeset
* frontend test and story
* test fix
* fix test
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2023-08-29 14:40:10 -04:00
Abubakar Abid
b27f758325
Change markdown rendering to set breaks to false ( #5368 )
...
* change markdown rendering to set breaks to false
* add changeset
* update stories
* lint
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2023-08-29 11:20:41 -07:00
Ikko Eltociear Ashimine
b89688984f
Fix typo in utils.py ( #5369 )
...
* Fix typo in utils.py
overriden -> overridden
* add changeset
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2023-08-29 13:17:53 -04:00
Dawood Khan
05892302fb
Adds kwarg to disable html sanitization in gr.Chatbot()
( #5304 )
...
* disable sanitize
* add changeset
* Fix devcontainer postCreateCommand (#5289 )
* add chmod commands to grant execute permissions to each script before running them
* increase the memory limit
* Increase memory requirement to 8
* Setting a minimum specification for codespace machines
* Rotate axes labels on LinePlot, BarPlot, and ScatterPlot (#5305 )
* add chmod commands to grant execute permissions to each script before running them
* increase the memory limit
* Increase memory requirement to 8
* Setting a minimum specification for codespace machines
* Added label_angle parameter to LinePlot
* add the x_label_angle and y_label_angle to the postprocess
* Add x_label_angle and y_label_angle to ScatterPlot
* Add x_label_angle and y_label_angle to BarPlot
* Remove postCreateCommand update from this PR, it is in its own PR
* Remove custumization on the devcontainer, it is on another PR
* Remove extra line on the devcontainer, it is on another PR
* add changeset
* update the parameter definition in the docstring
---------
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
* `make_waveform()` twitter video resolution fix (#5296 )
* waveform res fix
* add changeset
* add changeset
* Improve audio streaming (#5238 )
* changes
* changes
* add changeset
* add changeset
* chages
* Update silver-clowns-brush.md
* changes
* chagers
* changes
* Update silver-clowns-brush.md
* change
* change
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: pngwn <hello@pngwn.io>
* Tweaks to `icon` parameter in `gr.Button()` (#5285 )
* button
* add changeset
* fix
* add changeset
* add changeset
* types
* type fix
* formatting
* fix based on review
* fix unit tests
* stories
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
* test
* test
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: aliabid94 <aabid94@gmail.com>
Co-authored-by: pngwn <hello@pngwn.io>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
* Allow caching examples with streamed output (#5295 )
* changes
* changes
* add changeset
* add changeset
* chages
* Update silver-clowns-brush.md
* changes
* chagers
* changes
* Update silver-clowns-brush.md
* change
* change
* change
* changes
* chages
* changes
* add changeset
* changes
* changes
* changes
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: pngwn <hello@pngwn.io>
* Create event listener table for components on docs (#5298 )
* changes
* changes
* remove languages from code docs
* fix img path in guide
* rework event listeners
* add changeset
* remove console log
* name it event arguments
* Update js/_website/src/lib/components/EventListeners.svelte
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
* Update js/_website/src/lib/components/EventListeners.svelte
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
* requested changes
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
* merge
* fix (#5308 )
* only start listening for events after the components are mounted (#5312 )
* only start listening for events after the components are mounted
* add changeset
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
* Restores missing part of bottom border on file component (#5313 )
* removes missing part of bottom border on file component
* add changeset
* add changeset
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
* chore: update versions (#5177 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* Test Blocks.svelte footer copy (#5307 )
* test test
* fix test
* tweak
* tweak test name
* ensure login form has correct styles (#5324 )
* fix changelog generation (#5328 )
* Add ignore scripts to pnpm i in pypi action (#5316 )
* add json generation to prepare
* add changeset
* remove pnpm prepare
* add changeset
* bring back prepare, add ignore scripts
* delete changeset
* add to right commadn
* add frozen lockfile to gh_action_pypi
* remove unused gh_action_pypi script
* remove unused scripts
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
* ensure dropdown stays open when identical data is passed in (#5323 )
* ensure dropwdown stays open when new data is passed in
* add changeset
* add changeset
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
* Fix ci again again again (#5329 )
* fix changelog generation
* fix changelog generation
* fix
* chore: update versions (#5326 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* Fix ci again again again (#5330 )
* fix changelog generation
* fix changelog generation
* fix
* fix script
* Fix ci again again again (#5331 )
* fix changelog generation
* fix changelog generation
* fix
* fix script
* fix script
* Fix ci again again again (#5332 )
* fix changelog generation
* fix changelog generation
* fix
* fix script
* fix script
* fix vars
* Fix ci again again again (#5333 )
* fix changelog generation
* fix changelog generation
* fix
* fix script
* fix script
* fix vars
* fix vars
* Fix Checkbox select dispatch (#5340 )
* Fix bug
* add changeset
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
* Minor bug fix sweep (#5284 )
* changes
* changes
* add changeset
* changes
* changes
* fix box changes on website
* add changeset
* changes
* changes
* Revert "changes"
This reverts commit 189b4e844a
.
* chanegs
* changes
* changes
* changes
* changes
* add changeset
* Update fancy-bats-deny.md
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: aliabd <ali.si3luwa@gmail.com>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
* Fix: wrap avatar-image in a div to clip its shape (#5319 )
* fix: wrap avatar-image in a div to clip its shape
and add data url support
* add changeset
* revert get file from data url
* add changeset
---------
Co-authored-by: Dawood Khan <dawoodkhan82@gmail.com>
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
* chore: update versions (#5341 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* add kwarg to markdown
* add changeset
* config
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Faiga Alawad <faiga.alawd91@gmail.com>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
Co-authored-by: aliabid94 <aabid94@gmail.com>
Co-authored-by: pngwn <hello@pngwn.io>
Co-authored-by: Ali Abdalla <ali.si3luwa@gmail.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Hannah <hannahblair@users.noreply.github.com>
Co-authored-by: Freddy Boulton <alfonsoboulton@gmail.com>
Co-authored-by: Keldos <Keldos.ljw@gmail.com>
2023-08-29 00:26:29 -04:00
Dawood Khan
c5bf91385a
Add chat bubble width param ( #5334 )
...
* chat width
* add changeset
* fixes
* fix
* test
* reformat
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2023-08-28 20:48:52 -04:00
pngwn
1dc797adcb
chore: update versions ( #5341 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-08-25 12:07:20 -07:00
Keldos
3341148c10
Fix: wrap avatar-image in a div to clip its shape ( #5319 )
...
* fix: wrap avatar-image in a div to clip its shape
and add data url support
* add changeset
* revert get file from data url
* add changeset
---------
Co-authored-by: Dawood Khan <dawoodkhan82@gmail.com>
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2023-08-25 14:37:45 -04:00
aliabid94
5f25eb6836
Minor bug fix sweep ( #5284 )
...
* changes
* changes
* add changeset
* changes
* changes
* fix box changes on website
* add changeset
* changes
* changes
* Revert "changes"
This reverts commit 189b4e844a
.
* chanegs
* changes
* changes
* changes
* changes
* add changeset
* Update fancy-bats-deny.md
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: aliabd <ali.si3luwa@gmail.com>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2023-08-25 11:31:18 -07:00
Freddy Boulton
df090e89f7
Fix Checkbox select dispatch ( #5340 )
...
* Fix bug
* add changeset
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2023-08-25 11:42:46 -04:00
pngwn
632e4d8378
chore: update versions ( #5326 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-08-24 18:47:07 +01:00
pngwn
1e90a2ef2d
Fix ci again again again ( #5329 )
...
* fix changelog generation
* fix changelog generation
* fix
2023-08-24 18:36:36 +01:00
pngwn
e32b0928d2
ensure dropdown stays open when identical data is passed in ( #5323 )
...
* ensure dropwdown stays open when new data is passed in
* add changeset
* add changeset
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2023-08-24 18:22:41 +01:00
pngwn
d44708e243
fix changelog generation ( #5328 )
2023-08-24 18:09:37 +01:00
pngwn
31996c991d
ensure login form has correct styles ( #5324 )
2023-08-24 16:42:28 +01:00
pngwn
ba4c6d9e65
chore: update versions ( #5177 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-08-23 15:41:08 -07:00
Abubakar Abid
54bcb72417
Restores missing part of bottom border on file component ( #5313 )
...
* removes missing part of bottom border on file component
* add changeset
* add changeset
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2023-08-23 15:26:09 -07:00
pngwn
f769cb6714
only start listening for events after the components are mounted ( #5312 )
...
* only start listening for events after the components are mounted
* add changeset
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2023-08-23 23:07:58 +01:00
pngwn
29a3a75a61
fix ( #5308 )
2023-08-23 21:58:15 +01:00
pngwn
fe057300f0
delegate gradio events via a custom event dispatcher ( #5279 )
...
* delegate gradio events via a custom event dispatcher
* improve md perf + share code
* fix df markdown
* prevent model3d from rerending too frequently
* tweaks
* fix more event bugs with video
* add changeset
* optimise handle mount
* does this do anything
* fix
* remove old dispatches
* fix dropdown position
* oops
* fixes
* fix tests
* fix types
* format
* fix markdown code
* add changeset
* fix typecheck
* fix typecheck
* fix demos
* notebooks
* fix tests
* changer
* maybe this
* fixes
* add changeset
* fix chatbot alignment mobile
* fix chantbot
* add changeset
* changeset
* changeset
* storybook
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2023-08-23 21:48:10 +01:00
Ali Abdalla
cf167cd1dd
Create event listener table for components on docs ( #5298 )
...
* changes
* changes
* remove languages from code docs
* fix img path in guide
* rework event listeners
* add changeset
* remove console log
* name it event arguments
* Update js/_website/src/lib/components/EventListeners.svelte
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
* Update js/_website/src/lib/components/EventListeners.svelte
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
* requested changes
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2023-08-23 12:38:42 -07:00
aliabid94
7b8fa8aa58
Allow caching examples with streamed output ( #5295 )
...
* changes
* changes
* add changeset
* add changeset
* chages
* Update silver-clowns-brush.md
* changes
* chagers
* changes
* Update silver-clowns-brush.md
* change
* change
* change
* changes
* chages
* changes
* add changeset
* changes
* changes
* changes
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: pngwn <hello@pngwn.io>
2023-08-23 11:47:07 -07:00
Dawood Khan
a0f22626f2
make_waveform()
twitter video resolution fix (#5296 )
...
* waveform res fix
* add changeset
* add changeset
* Improve audio streaming (#5238 )
* changes
* changes
* add changeset
* add changeset
* chages
* Update silver-clowns-brush.md
* changes
* chagers
* changes
* Update silver-clowns-brush.md
* change
* change
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: pngwn <hello@pngwn.io>
* Tweaks to `icon` parameter in `gr.Button()` (#5285 )
* button
* add changeset
* fix
* add changeset
* add changeset
* types
* type fix
* formatting
* fix based on review
* fix unit tests
* stories
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
* test
* test
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: aliabid94 <aabid94@gmail.com>
Co-authored-by: pngwn <hello@pngwn.io>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2023-08-23 14:45:49 -04:00
Faiga Alawad
15075241fa
Rotate axes labels on LinePlot, BarPlot, and ScatterPlot ( #5305 )
...
* add chmod commands to grant execute permissions to each script before running them
* increase the memory limit
* Increase memory requirement to 8
* Setting a minimum specification for codespace machines
* Added label_angle parameter to LinePlot
* add the x_label_angle and y_label_angle to the postprocess
* Add x_label_angle and y_label_angle to ScatterPlot
* Add x_label_angle and y_label_angle to BarPlot
* Remove postCreateCommand update from this PR, it is in its own PR
* Remove custumization on the devcontainer, it is on another PR
* Remove extra line on the devcontainer, it is on another PR
* add changeset
* update the parameter definition in the docstring
---------
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2023-08-23 13:47:02 -04:00
Abubakar Abid
cdfd42174a
Tweaks to icon
parameter in gr.Button()
( #5285 )
...
* button
* add changeset
* fix
* add changeset
* add changeset
* types
* type fix
* formatting
* fix based on review
* fix unit tests
* stories
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2023-08-22 15:05:22 -07:00
aliabid94
de23e9f7d6
Improve audio streaming ( #5238 )
...
* changes
* changes
* add changeset
* add changeset
* chages
* Update silver-clowns-brush.md
* changes
* chagers
* changes
* Update silver-clowns-brush.md
* change
* change
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: pngwn <hello@pngwn.io>
2023-08-22 15:01:34 -07:00
Abubakar Abid
a74605572d
Add height parameter and scrolling to gr.Dataframe
( #5283 )
...
* add height and scrolling to dataframe
* add changeset
* fix test
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2023-08-22 14:42:02 -07:00
Hannah
804fcc058e
Add render
function to <gradio-app>
( #5158 )
...
* add function on_load to gradio-app web element
* typo
* fix test
* add ready event
* add custom events and use onMount
* add changeset
* add changeset
* move event logic
* add changeset
* clean up whitespace
* add onloadcomplete to guide
* add changeset
* add changeset
* add highlight
* change event name to render and ensure it runs after DOM mounting is complete
* update docs
* rename var
* tweak
* renaming
* tweak
* tweaks
* mount statustracker nodes
* typo
* tweaks
* copy tweak
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2023-08-22 12:11:19 +02:00
Dawood Khan
92282cea6a
Chatbot Avatar Images ( #5258 )
...
* avatar images
* images
* add changeset
* fixes
* format
* type fix
* test fix
* format
* fixes
* tuple
* change to tuple
* test fix
* remove index file
* fixes
* save
* test fix
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2023-08-21 17:15:59 -04:00
Freddy Boulton
390624d8ad
Enable streaming audio in python client ( #5248 )
...
* Add code
* Remove file
* add changeset
* add changeset
* Update chilly-fans-make.md
* lint
* Lint
* Add ffmpeg
* Lint
* Cleaner way to handle stream change
* Fix windows test
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2023-08-21 12:15:36 -07:00
Abubakar Abid
a2f42e28bd
Allow updating the label of gr.UpdateButton
( #5280 )
...
* upload button label
* add changeset
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2023-08-21 11:18:23 -07:00
Hannah
502f1015bf
Ensure Blocks
translation copy renders correctly ( #5276 )
...
* fix copy render in blocks
* add changeset
* add changeset
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2023-08-21 06:54:42 -07:00
Abubakar Abid
f49028cfe3
Move markdown & latex processing to the frontend for the gr.Markdown and gr.DataFrame components ( #5268 )
...
* changes
* katex
* add changeset
* dataframe
* add changeset
* latex in dataframe
* add changeset
* lint
* lint
* stories and types
* stories
* type
* restore lock
* pnpm lock
* fix backend tests
* xray configs
* test files
* test utils
* fix utils
* add changeset
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2023-08-21 06:54:20 -07:00
Hannah
46a2b600a7
ensure translations for audio work correctly ( #5264 )
...
* fix audio import
* set i18n locale
* add changeset
* tweak
* add changeset
* add curly brackets
* add changeset
* changes
* add changeset
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2023-08-18 17:37:19 +01:00
Abubakar Abid
06982212df
Removes scrollbar from File preview when not needed ( #5265 )
...
* fix scrollbar when not needed
* add changeset
* add changeset
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2023-08-18 09:13:52 -07:00
pngwn
807fb883d3
Support lists in fix + feat changelog entries ( #5261 )
2023-08-18 16:32:25 +01:00
Abubakar Abid
933db53e93
Better handling of empty dataframe in gr.DataFrame
( #5256 )
...
* better handling of empty dataframe
* add changeset
* hide comments
* add changeset
* remove
* lint
* null case
* add stories
* stories
* lint
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2023-08-18 08:20:02 -07:00
Abubakar Abid
c39f06e16b
Fix .update()
for gr.Radio()
and gr.CheckboxGroup()
( #5254 )
...
* fix dynamic -> interactive
* fix checks
* add changeset
* add changeset
* fix changeset
* fix linting issues
* Fix update choices
* add test
* fix'
* revert
* revert
* Delete curly-hands-carry.md
* 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-18 07:58:33 -07:00
aliabid94
a773eaf750
Stop passing inputs and preprocessing on iterators ( #5260 )
...
* changes
* add changeset
* changes
* add changeset
* Update blocks.py
* changes
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2023-08-18 10:54:58 -04:00
renovate[bot]
1cefee7fc0
chore(deps): update dependency marked to v7 ( #5112 )
...
* chore(deps): update dependency marked to v7
* add changeset
* fix types
* 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: pngwn <hello@pngwn.io>
2023-08-18 13:14:14 +01:00
Hannah
4b58ea6d98
Update i18n tokens and locale files ( #5216 )
...
* tokenize en strings in components and refactor en.json
* add changeset
* refactor more translation files
* more translation files
* tweak
* fix test
* fix other test
* fix test
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2023-08-18 12:36:52 +01:00
Abubakar Abid
f344592aeb
Allows setting a height to gr.File
and improves the UI of the component ( #5221 )
...
* file
* file downlaod
* add changeset
* added story
* lint
* fix test
* add changeset
* margin
* fixes
* lint
* modify
* lint
* add changeset
* revert
* revert
* add changeset
* Delete Chatbot.stories.svelte
* revert
* revert
* add changeset
* redesign
* lint
* fixes
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2023-08-17 18:43:12 -07:00
pngwn
ddac7e4d0f
Ensure File component uploads files to the server. ( #5253 )
...
* fix dynamic -> interactive
* fix checks
* add changeset
* add changeset
* fix changeset
* fix linting issues
* fix typing issue
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2023-08-17 12:20:19 -07:00
Abubakar Abid
c57d4c232a
gr.Radio
and gr.CheckboxGroup
can now accept different names and values (#5232 )
...
* radio
* radio checkboxgroup
* add changeset
* type
* fix tests
* types
* fix unit test
* Update gradio/components/radio.py
Co-authored-by: Ali Abdalla <ali.si3luwa@gmail.com>
* Update gradio/components/checkboxgroup.py
Co-authored-by: Ali Abdalla <ali.si3luwa@gmail.com>
* fix review
* examples
* backend
* type fixes
* fix test
* fixed example
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Ali Abdalla <ali.si3luwa@gmail.com>
2023-08-16 11:27:39 -07:00
Freddy Boulton
b3e50db92f
Remove aiohttp dependency ( #5244 )
...
* Remove aiohttp
* add changeset
* Add requirements file to filter
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2023-08-16 12:03:46 -04:00
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
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
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
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
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
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
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
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
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
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
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
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
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
Ali Abdalla
42488c076a
Correct gradio version on website ( #5037 )
...
* fix jsons
* add changeset
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2023-07-28 21:55:17 +02:00
pngwn
861d752a83
chore: update versions ( #4999 )
...
* chore: update versions
* undo diff
---------
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: freddyaboulton <alfonsoboulton@gmail.com>
2023-07-26 17:10:24 -04:00
Freddy Boulton
46e4ef67d2
Deploy ChatInterface as a discord bot ( #4960 )
...
* WIP
* Handle queue full message
* Add code
* Fix types
* Format
* Add docstring
* Rephrase
* cli conflicts
* Update client/python/gradio_client/templates/discord_chat.py
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
* WIP
* Handle queue full message
* Add code
* Fix types
* Format
* Add docstring
* Rephrase
* cli conflicts
* Update client/python/gradio_client/templates/discord_chat.py
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
* Update client/python/gradio_client/templates/discord_chat.py
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
* Update client/python/gradio_client/templates/discord_chat.py
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
* Update client/python/gradio_client/templates/discord_chat.py
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
* Figure out how slash commands work
* Lint
* Fix new name situation
* Dont auto archive
* add code
* Explain sync
* add changeset
* Update client/python/gradio_client/cli/deploy_discord.py
Co-authored-by: Omar Sanseviero <osanseviero@gmail.com>
* Make more general
* Fix check
* add changeset
* Add guide
* Step-by-step guide
* Add tip on login via cli
* Fix template - auto synch
* Add note on space sleeptime
* add changeset
* Add more info for feature
* Add img
---------
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Omar Sanseviero <osanseviero@gmail.com>
2023-07-26 16:09:38 -04:00
aliabid94
44ac8ad08d
Allow setting sketch color default ( #4979 )
...
* changes
* add changeset
* changes
* changes
* changes
* changes
* changes
* changes
* changes
* changes
* changes
---------
Co-authored-by: pngwn <hello@pngwn.io>
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2023-07-25 11:39:51 -07:00
Hannah
3f8c210b01
Implement left and right click in Gallery
component and show implicit images in Gallery
grid ( #4995 )
...
* tweak responsive behaviour in gallery
* test
* add function to move left + right on click
* add changeset
* fix ts error
* Delete soft-eyes-repeat.md
* add changeset
* add gallery story
* change y overflow to scroll
---------
Co-authored-by: pngwn <hello@pngwn.io>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2023-07-25 15:02:44 +01:00
aliabid94
41c83070b0
Add CSS resets and specifiers to play nice with HF blog ( #4997 )
...
* changes
* add changeset
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: pngwn <hello@pngwn.io>
2023-07-24 16:35:53 -07:00
Ali Abdalla
71c9039401
Make sure tags aren't rendered inside a guide ( #5007 )
...
* remove tags
* small fixes to guides
* add changeset
* add changeset
* add changeset
* add changeset
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2023-07-24 22:54:33 +02:00
Ali Abdalla
3e70fc81fc
Correctly render changelog on website after new formatting ( #5009 )
...
* fix changelog rendering
* add changeset
* add changeset
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2023-07-24 22:44:10 +02:00
Abubakar Abid
b74f845303
Adds additional_inputs
to gr.ChatInterface
( #4985 )
...
* adding additional inputs
* add param
* guide
* add is_rendered
* add demo
* fixing examples
* add test
* guide
* add changeset
* Fix typos
* Remove label
* Revert "Remove label"
This reverts commit 1004285615
.
* add changeset
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: freddyaboulton <alfonsoboulton@gmail.com>
2023-07-24 11:55:47 -04:00
pngwn
ad62cd9238
Fix changesets action ( #4998 )
...
* fix action
* tweak issue template
2023-07-22 12:50:57 +01:00
Abubakar Abid
dc07a9f947
Revert "Revert "Add download button for audio"" ( #4993 )
...
* Revert "Revert "Add download button for audio (#4977 )" (#4992 )"
This reverts commit ad99df4fdd
.
* removed changelog updates
* add changeset
* credit leuryr
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2023-07-22 03:20:29 +03:00
pngwn
62306d9ed1
unified release process ( #4986 )
...
* Implement unified version and release mechanism for all python and javascript packages.
* Update gradio/package.json
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
* fix changelog
* fix changelog
* Update js/button/README.md
* Update .github/workflows/generate-changeset.yml
---------
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2023-07-21 19:13:21 +01:00
pngwn
181c6721b6
chore: update versions ( #4781 )
2023-07-18 07:17:59 +01:00
Yuichiro Tachibana (Tsuchiya)
76acf3cb0b
Lite: Fix the markdown-it package name spec on the Wasm worker ( #4846 )
...
* Fix the package name spec of markdown-it on the Wasm worker
* Add changeset
2023-07-10 10:03:21 +01:00
Yuichiro Tachibana (Tsuchiya)
f0150c6260
Lite: unload local modules before executing Python scripts ( #4826 )
...
* Unload the local modules before re-executing a Python script
* Add changeset
2023-07-10 10:03:09 +01:00
Yuichiro Tachibana (Tsuchiya)
da0e94479a
Lite: Add methods to run Python files mounted on a virtual file system, and unmount() method ( #4785 )
...
* Create WorkerProxy.runPythonFile() to run a mounted Python file and rename .runPythonAsync() to .runPythonCode()
* Fix lite/index.html and app/lite/index.ts adjusting the new option name
* Add changeset
* Add controller.unmount()
* Add changeset
---------
Co-authored-by: pngwn <hello@pngwn.io>
2023-07-06 11:43:14 +01:00
Yuichiro Tachibana (Tsuchiya)
8d0d4e0a8e
Prebuild lite css ( #4788 )
...
* Customize scripts/generate_theme.py to reuse for the CSS generation for @gradio/lite
* Build theme.css at the build time of Gradio-lite and update the frontend app to load it at the initialization phase
* Add changeset
---------
Co-authored-by: pngwn <hello@pngwn.io>
2023-07-06 11:38:15 +01:00
Yuichiro Tachibana (Tsuchiya)
f757febe18
Fix/lite dev code ( #4784 )
...
* Stop embedding JS scripts on lite.html because they are also bundled into the final build
* Add changeset
---------
Co-authored-by: pngwn <hello@pngwn.io>
2023-07-04 19:29:27 +01:00
Yuichiro Tachibana (Tsuchiya)
80b4996595
Lite: filesystem and requirements installer ( #4779 )
2023-07-04 14:11:22 +01:00
pngwn
ae80066c8a
chore: update versions ( #4741 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-06-30 10:38:58 +01:00
Yuichiro Tachibana (Tsuchiya)
1dc3c1a9a2
Lite: Rerun the Python code and refresh the frontend ( #4732 )
2023-06-30 08:24:35 +01:00
pngwn
9361a29da2
chore: update versions ( #4735 )
2023-06-29 22:35:55 +01:00
Yuichiro Tachibana (Tsuchiya)
f9171288d4
Introduce CrossOriginWorker class to load the WebWorker file from a different domain ( #4731 )
...
* Introduce CrossOriginWorker class as a workaround to load the webworker.js served from a domain different from the main page
* Update the changesets
---------
Co-authored-by: pngwn <hello@pngwn.io>
2023-06-29 21:07:04 +01:00
pngwn
8b0c680d9a
chore: update versions ( #4720 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-06-29 15:55:28 +01:00
Yuichiro Tachibana (Tsuchiya)
ab5d1ea0de
Fix the description field of client/js/package.json ( #4717 )
2023-06-29 12:57:46 +01:00
pngwn
36f0b397c6
remove workbench ( #4644 )
2023-06-22 14:40:05 +01:00
pngwn
7e99ce74c7
chore: update versions ( #4358 )
2023-06-20 14:23:01 +01:00
pngwn
0dbd8f7fee
various client refactors + tweaks ( #4357 )
...
* changeset
* Add a type annotation on the `api` variable to which the return value of `view_config()` is assigned, and update the type annotation and exception handling on `view_config` as well (#4311 )
* Remove unnecessary @ts-ignore (#4314 )
* Remove unnecessary Promise wrapping another promise (#4313 )
* Remove unnecessary Promise wrapping another promise
* Remove an error handeler that may remove detailed error stacks
* changeset
* remove changeset
---------
Co-authored-by: pngwn <hello@pngwn.io>
* Stop using `let` for unchanged variables in `client.ts` (#4312 )
* Stop using `let` for unchanged variables in `client.ts`
* fixes
---------
Co-authored-by: pngwn <hello@pngwn.io>
---------
Co-authored-by: Yuichiro Tachibana (Tsuchiya) <t.yic.yt@gmail.com>
2023-05-30 11:50:33 +09:00
pngwn
caceb7a5b1
chore: update versions ( #4283 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-05-29 16:30:54 -07:00
Yuichiro Tachibana (Tsuchiya)
b525b122dd
Add overridden type annotations on normalise_file()
to remove @ts-i… ( #4315 )
...
* Add overridden type annotations on `normalise_file()` to remove @ts-ignore, and remove its unnecessary export
* changeset
---------
Co-authored-by: pngwn <hello@pngwn.io>
2023-05-28 19:40:20 -07:00
pngwn
1d0f0a9db0
Ensure error modal display as expected when using the queue ( #4273 )
2023-05-20 00:32:12 +01:00
pngwn
1151c52535
fix info request in js client ( #4271 )
...
* fix info request in js client
* changelog
2023-05-19 10:58:42 -04:00
pngwn
d0e0c81046
chore: update versions ( #4207 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-05-16 22:57:49 +01:00
pngwn
a26e9afde3
Fix client filepaths ( #4202 )
...
* transform returned paths to useful URLs
* changeset
* update app
* revert
* revert
* changelog
* Update client/js/src/client.ts
Co-authored-by: aliabid94 <aabid94@gmail.com>
* format
---------
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
Co-authored-by: aliabid94 <aabid94@gmail.com>
2023-05-16 22:04:51 +01:00
pngwn
da5b4ee117
Fix semiver import ( #4201 )
2023-05-14 10:42:02 +01:00
pngwn
83134c10eb
client docs tweaks ( #4196 )
...
* ci typo
* fix
* again
* again
* again
* ignore workbench
* small tweaks for publish + docs
2023-05-12 23:24:30 +01:00
pngwn
c723f7f2c9
chore: update versions ( #4188 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-05-12 22:07:07 +01:00
pngwn
67239ca9b2
bump client version ( #4185 )
...
* bump client version
* ignore spaces-test
2023-05-12 19:16:19 +01:00
pngwn
48e8b113f4
node support for js client ( #3692 )
...
* bundle js client + gen types
* changeset
* changeset
* fix bugs
* fix deps
* fix deps
* format
* fix ci
* fix types
2023-04-03 14:33:01 +01:00
pngwn
ae4277a9a8
move files ( #3605 )
...
* move files
* commit the rest of the files
* fix lockfile
* fix workflow
* fix type errors
* fix tests
* only run ci when certain files change
* run correct test command in ci
* version
* fix pypi script
---------
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2023-03-27 16:12:58 -07:00
pngwn
2d22d4f028
change ( #3577 )
...
* change
* formatting
2023-03-22 14:27:14 +00:00
pngwn
e553558a47
3404 publish js client ( #3574 )
...
* publish ci setup
* publish ci setup
2023-03-22 13:46:23 +00:00