pngwn
aca54db88c
chore: update versions ( #6472 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-11-17 13:26:05 -08:00
Freddy Boulton
e01b67f96f
Custom Component Guide Redirects ( #6460 )
...
* Redirects
* add changeset
* add changeset
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Ali Abdalla <ali.si3luwa@gmail.com>
2023-11-17 10:57:14 -08:00
Freddy Boulton
739e3a5a09
Fix dev mode ( #6467 )
2023-11-17 10:14:37 -05:00
pngwn
08c4ed2ced
chore: update versions ( #6420 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-11-16 19:54:38 -08:00
Freddy Boulton
6b53330a5b
UploadButton tests ( #6461 )
...
* Add test
* add changeset
* lint
* Switch order
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2023-11-16 16:10:12 -08:00
Freddy Boulton
3953a14675
Preserve original image extension in backend processing ( #6456 )
...
* Preserve image extension
* add changeset
* add changeset
* Fallback to png if failure. Try to save to original format for PIL in postprocess
* Update gradio/image_utils.py
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
* Keyerror
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2023-11-16 17:47:47 -05:00
Abubakar Abid
e0fc146598
Allow google analytics to work on Spaces (and other iframe situations) ( #6427 )
...
* ga on spaces
* add changeset
* format
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2023-11-16 13:32:00 -08:00
Hannah
2777f326e5
Ensure Audio ouput events are dispatched ( #6454 )
...
* ensure ouput events are dispatched
* add changeset
* add output events to e2e tests and remove unknown end event
* Amend audio events e2e test
* add changeset
* remove redundant test
* gen notebook
* tweak test name
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2023-11-16 21:55:25 +01:00
Freddy Boulton
d00fcf89d1
Gradio custom component dev mode now detects changes to Example.svelte file ( #6457 )
...
* WIP
* fix
* WIP
* Remove console log
* add changeset
* add changeset
* use strict
---------
Co-authored-by: pngwn <hello@pngwn.io>
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2023-11-16 14:30:31 -05:00
Freddy Boulton
58e3ca8260
Custom Component CLI Improvements ( #6436 )
...
* Finishing touches
* Disable metadata prompt in tests
* add changeset
* lint website
* Fix link:
* Fix redirects
* failsafe
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2023-11-16 13:23:50 -05:00
Freddy Boulton
2f805a7dd3
Image Fixes ( #6441 )
...
* Fix + tests
* Rest of code lol
* add changeset
* lint
* lint + comments
* bind to upload
* add changeset
* Update breezy-foxes-search.md
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2023-11-16 09:45:48 -05:00
Hannah
d92de491bf
Optimise Chromatic workflow ( #6451 )
...
* exclude draft prs
* add turbosnap
* pnpn lock
* add changeset
* fix pnpm
* fix storybook path
* fix path
* remove test logs
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2023-11-16 13:11:26 +01:00
Abubakar Abid
b3ba17dd11
Update the selected indices in Dropdown
when value changes programmatically ( #6425 )
...
* dropdown fix'
* add changeset
* typo
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2023-11-15 09:55:19 -08:00
Hannah
f816136a03
Add volume control to Audio ( #6254 )
...
* fix autoplay and add trim_region_color setting
* add changeset
* add changeset
* add changeset
* remove unused param
* add changeset
* add volume control functionality
* add changeset
* corrent change event to stop_recording
* controls tweak
* add tests
* add changeset
* hide volume when blurred
* change bar height
* normalise -> normalize
* style tweaks
* clean up volume control
* add more tests
* formatting
* fix dispatch event
* amend refs to source
* add audio e2e
* add changeset
* fix test
* clean up ids + refs
* style tweak
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2023-11-15 13:19:02 +01:00
Freddy Boulton
1959471a8d
Add download tests for audio/video ( #6419 )
...
* Add download tests for audio/video
* add changeset
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2023-11-14 13:55:28 -05:00
pngwn
0bafdcb550
chore: update versions ( #6381 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-11-13 19:19:34 -08:00
Freddy Boulton
da1e31832f
Fix Model3D download button and other issues ( #6414 )
...
* Add code
* add changeset
* add changeset
* add changeset
* Don't bind
* lint
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2023-11-13 17:13:20 -08:00
Dawood Khan
e76a9e8fcb
Fix Chatbot Pending Message Issues ( #6386 )
...
* fix
* add changeset
* fix
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2023-11-13 17:12:56 -08:00
aliabid94
324867f63c
Fix event target ( #6383 )
...
* changes
* changes
* add changeset
* chagnes
* chaneg
* changes
* fix
* changes
* changes
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2023-11-13 15:14:55 -08:00
Hannah
0401c77f3d
Move ffmpeg to Video
deps ( #6406 )
...
* move ffmpeg to video
* pnpm lock
* add changeset
* move mrmime
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2023-11-13 13:57:20 -08:00
Freddy Boulton
7471970894
PDF component custom component guide ( #6344 )
...
* WIP guide
* Add remaining
* build command
* remove pin from guides
* add changeset
* Tweaks
* add changeset
* format
* Update guides/05_custom-components/07_pdf-component-example.md
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
* Redesign file upload (#6356 )
* Textbox and Code Component Blur/Focus Fixes (#6323 )
* focus and blur events
* format
* add changeset
* fixes
* fixes
* format
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
* Fix image upload (#6363 )
* Fix upload
* add changeset
* add changeset
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
* Add demo to the beginning
* Add example and note about the name
* Incorporate feedback
---------
Co-authored-by: aliabd <ali.si3luwa@gmail.com>
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>
Co-authored-by: Dawood Khan <dawoodkhan82@gmail.com>
2023-11-13 14:52:55 -05:00
Yuichiro Tachibana (Tsuchiya)
d84209703b
Lite: SharedWorker mode ( #6099 )
...
* Create the SharedWorker mode
* Fix the app_id management mechanism to be context-based so it works properly with run_file() and run_code()
* Adjust updateProgress() for the SharedWorker mode
* Make `get_continuous_fn()` Wasm-compatible in order for the created function not to occupy the thread with a loop with `time.sleep()` which is no-op in the Wasm env
* add changeset
* Add the `shared-worker` option to the custom-element API
* Apply formatter to js/app/src/lite/index.ts
* format
* Revert pnpm-lock.yml file version which is not needed to be changed in this PR
* Fix the unittest for `get_continuous_fn()`
* Fix the unit test because `anext()` is not available in Python 3.8, which is used in the CI env
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2023-11-13 17:32:00 +09:00
Ali Abdalla
9d6d72f443
Tiny fix to indent on landing page demo ( #6387 )
...
* tiny indent fix
* add changeset
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2023-11-12 12:41:17 -08:00
Freddy Boulton
2090aad731
Move wavesurfer dep to js/audio ( #6382 )
...
* Move wavesurfer dep to js/audio
* Add code
* add changeset
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2023-11-12 12:18:11 -05:00
pngwn
200237d73c
chore: update versions ( #6331 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-11-10 15:12:33 -08:00
Freddy Boulton
4d3aad33a0
Fix image upload ( #6363 )
...
* Fix upload
* add changeset
* add changeset
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2023-11-09 19:57:27 -05:00
Dawood Khan
55fda81fa5
Textbox and Code Component Blur/Focus Fixes ( #6323 )
...
* focus and blur events
* format
* add changeset
* fixes
* fixes
* format
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2023-11-09 19:20:54 -05:00
Hannah
854b482f59
Redesign file upload ( #6356 )
2023-11-09 16:52:03 -05:00
Ali Abdalla
294414d9f7
Add sharing to playground ( #6351 )
...
* add new page
* sharing
* add changeset
* add some styling
* styling
* rename to blank
* clearer icon
* formatting
* wording
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2023-11-09 12:29:40 -08:00
Abubakar Abid
6204ccac59
Fixes gr.load()
so it works properly with Images and Examples ( #6322 )
...
* changes
* image
* fixes
* examples
* add changeset
* changes
* revert
* add changeset
* fix
* fix test
* modify workflow
* fix
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Hannah <hannahblair@users.noreply.github.com>
2023-11-09 08:34:32 -08:00
aliabid94
37dd335e5f
Fix audio streaming output issues in 4.0 ( #6343 )
...
* changes
* Update processing_utils.py
* add changeset
* changes
* changes
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2023-11-08 14:57:25 -08:00
Freddy Boulton
f1409f95ed
Provide status updates on file uploads ( #6307 )
...
* Backend
* Backend
* add changeset
* Clean up + close connection
* Lint
* Fix tests
* Apply opacity transition
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2023-11-07 19:02:31 -05:00
pngwn
e9bb445a63
chore: update versions ( #6308 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-11-07 15:50:13 -08:00
Freddy Boulton
25e380078a
WIP: Look into functional test flakes ( #6312 )
...
* Add code
* trigger ci
* Add await
* format
2023-11-07 14:38:52 -05:00
Hannah
4b1011bab0
Maintain text selection in Chatbot
button elements ( #6316 )
...
* add user-select to button
* add changeset
* formatting
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2023-11-07 11:26:06 -08:00
Hannah
19af2806a5
Add autoplay to waveform_settings
( #6317 )
...
* add autoplay to waveform_settings
* add changeset
* add autoplay story
* remove unused autoplay param
* remove reundant params
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2023-11-07 11:23:43 -08:00
Abubakar Abid
d3b53a4577
Fix for stylized DataFrame ( #6318 )
...
* changes
* add changeset
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2023-11-07 11:16:33 -08:00
Hannah
fad92c29dc
Improve default source behaviour in Audio ( #6314 )
...
* change audio param docs and switch default to `upload`
* amend selected source icon colour
* add changeset
* tweak
* add changeset
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2023-11-07 14:47:04 +01:00
Abubakar Abid
c561287812
Fix updating choices in gr.Dropdown
and updates related to other components ( #6309 )
...
* postprocess fix
* add changeset
* add changeset
* blocks
* formatting
* demo
* add changeset
* Add code
* reduce
* trigger ci
* Update gradio/blocks.py
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: freddyaboulton <alfonsoboulton@gmail.com>
2023-11-07 04:16:29 -08:00
Hannah
3cdeabc684
Ensure source selection does not get hidden in overflow ( #6279 )
...
* add wrapper around content and source selection
* formatting
* remove upload 100% height
* add changeset
* move source selection to atoms
* formatting
* add changeset
* add changeset
* add changeset
* tweak <Upload /> height to accomodate source selection
* add changeset
* calc new height with source selection
* formatting
* tweak
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2023-11-07 11:58:34 +01:00
Abubakar Abid
176c4d1400
Temporary fix to be able to load themes from Hub ( #6311 )
...
* Add code
* push temporary fix for tags
* temp fix
* add changeset
* reduce
* trigger ci
---------
Co-authored-by: freddyaboulton <alfonsoboulton@gmail.com>
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2023-11-06 15:40:08 -08:00
pngwn
1d986217f6
chore: update versions ( #6292 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-11-03 15:56:06 -07:00
Freddy Boulton
92278729ee
Gallery preview fix and optionally skip download of urls in postprcess ( #6288 )
...
* Add code
* add changeset
* Use urls from our s3 bucket
* Add notebook code
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2023-11-03 18:39:25 -04:00
pngwn
e8216be948
ensure gr.Dataframe
updates as expected ( #6290 )
...
* ensure Dataframe updates as expected
* add changeset
* add changeset
* ensure Dataframe updates as expected
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2023-11-03 22:33:19 +00:00
pngwn
73d7de77e4
chore: update versions ( #6200 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-11-03 12:16:42 -07:00
pngwn
0f3d3e136a
handle selected_index prop change for gallery
2023-11-03 16:08:12 +00:00
Hannah
e3ede2ff7d
Ensure Model 3D updates when attributes change ( #6255 )
...
* trigger scene update when params change
* add changeset
* formatting
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2023-11-03 11:57:27 +00:00
Ali Abdalla
de36820ef5
Fix various issues with demos on website ( #6268 )
...
* fix demos
* demos on landing page
* make code interactive on playground
* add changeset
* try new secret
* formatting
* fix fake_gan
* demo notebooks
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2023-11-02 17:35:07 -07:00
Abubakar Abid
e32bac8944
Fix updating interactive prop ( #6266 )
...
* interactive
* added functional test
* notebook
* format
* add changeset
* fix
* simplify backend
* simplify backend
* simplify backend
* fix tests
* add changeset
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2023-11-02 16:35:27 -07:00
pngwn
8bbeca0e77
Improve Embed and CDN handling and fix a couple of related bugs ( #6261 )
...
* fix embed
* add changeset
* fixes
* remove final references to cdn
* add changeset
* add changeset
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2023-11-02 22:29:03 +00:00