Abubakar Abid
2727f45fb0
Do not show warnings when renaming api_names ( #6424 )
...
* warnings
* add changeset
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2023-11-14 21:13:44 -08: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
ff544fd702
Add MultimodalChatbot Custom Component guide to accompany Youtube Video ( #6409 )
...
* Add guide
* Finish guide
* Fix working
* typos
* Fix link
* Fix typo
2023-11-13 17:13:38 -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
Abubakar Abid
649f3ceb6c
Added docs on gr.Examples ( #6412 )
...
* added docs on gr.Examples change
* add changeset
* docstrings
* Update guides/03_building-with-blocks/01_blocks-and-event-listeners.md
Co-authored-by: Freddy Boulton <alfonsoboulton@gmail.com>
* typo
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Freddy Boulton <alfonsoboulton@gmail.com>
2023-11-13 14:36:23 -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
Yuichiro Tachibana (Tsuchiya)
8ef48f8524
Async functions and async generator functions with the every
option to work ( #6395 )
...
* Extend `get_continuous_fn()` to deal with async functions and async generator functions
* add changeset
* add changeset
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2023-11-13 16:12:49 -05:00
Abubakar Abid
03491ef497
Fix docstrings and default value for api_name
( #6405 )
...
* api names
* add changeset
* lint
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2023-11-13 12:52:35 -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
Freddy Boulton
9cfeb4f17e
Remove websockets dependency ( #6403 )
...
* Remove websockets dependency
* add changeset
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2023-11-13 14:26:07 -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
Abubakar Abid
de998b2812
Processes avatar_images
for gr.Chatbot
and icon
for gr.Button
correctly, so that respective files are moved to cache ( #6379 )
...
* format
* add changeset
* add changeset
* add changeset
* whoops fix
* notebook
* tests
* refactor
* refactor
* format
* added test
* fix test
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2023-11-11 23:13:27 -08:00
Abubakar Abid
d31d8c6ad8
Allows sources
to be a string for gr.Image
( #6378 )
...
* fixes
* components
* add changeset
* sources
* video
* add changeset
* fixes
* add changeset
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2023-11-11 15:18:02 -08:00
Abubakar Abid
c55f927f5b
Makes the Windows tests only run on the release PR ( #6380 )
...
* format
* ci
* exclude logic
* add changeset
* test
* delete changeset
* tweaks
* remove edited
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2023-11-11 15:10:03 -08: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
8a3f45c261
Fix component update bug ( #6368 )
...
* Add code
* Add comment
* add changeset
* add changeset
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2023-11-10 12:26:07 -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
Abubakar Abid
506ab9e4b4
Fix backend tests on CI ( #6330 )
...
* test flaky
* reduce num tests
* fail intenationally
* add back
* revert test changes
* remove coverage
* diff
* fix tests
* format
2023-11-08 19:36:10 -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
Abubakar Abid
d64787b885
Fix colorFrom
in theme space readmes ( #6347 )
...
* red
* add changeset
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2023-11-08 14:57:03 -08:00
Yuichiro Tachibana (Tsuchiya)
42f76aeeb7
Add AsyncGenerator to the check-list of dependencies.types.generator
( #6333 )
...
* Add AsyncGenerator to the check-list of `dependencies.types.generator`
* add changeset
* add changeset
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2023-11-08 23:46:21 +09: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
Abubakar Abid
20d3335327
minor ( #6328 )
2023-11-07 15:42:09 -08:00
aliabid94
bca6c2c80f
Restore query parameters in request ( #6327 )
...
* changes
* changes
* add changeset
* console
* changes
* changes
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2023-11-07 15:15:10 -08:00
Freddy Boulton
ed546f2e13
Fix Model3D template ( #6326 )
...
* Add test
* add changeset
* add changeset
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2023-11-07 15:06:09 -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
570866a3bd
Hide show API link when in gradio lite ( #6320 )
...
* hide show_api button if IS_WASM ist true
* add test
* add changeset
* add changeset
* formatting
* revert ruff change
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2023-11-07 17:49:34 +01:00
Hannah
5551d8e439
Fix sources
list order in test_components.py
( #6321 )
...
* fix sources list ordering
* revert ruff change
2023-11-07 17:22:42 +01: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
dfdaf10926
Fix data model for gr.DataFrame
( #6310 )
...
* datamodel for df
* add changeset
* fix
* Add code
* reduce
* trigger ci
* typing
* union
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: freddyaboulton <alfonsoboulton@gmail.com>
2023-11-06 19:04:23 -08:00
Freddy Boulton
0db1e2546a
Mention Custom Components Collection in the guides ( #6313 )
...
* mention
* add sentence
2023-11-06 19:07:47 -05: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
Srijan Sahay Srivastava
7ab73df48e
fix regarding callable function error ( #6294 )
...
* fix regarding callable function error
* add changeset
* fix
* push
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2023-11-06 12:12:28 -08:00
pngwn
5b5af1899d
remove echo ( #6305 )
2023-11-06 16:36:34 +00: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