Commit Graph

7022 Commits

Author SHA1 Message Date
Ali Abdalla
8c5251c0ad
fix branch name (#9388) 2024-09-19 02:52:43 +04:00
Ali Abdalla
b9ed3a246a
Fix lite ci (#9387)
* fix sha

* fix name

* fix name
2024-09-19 01:57:34 +04:00
Ali Abdalla
ba3dfa1ddf
fix sha (#9386) 2024-09-19 01:19:39 +04:00
Ali Abdalla
832d1d6497
add lite upload (#9385) 2024-09-19 00:44:24 +04:00
Ali Abdalla
0cad5f348a
Testing CI (#9379)
* remove unnecessary redirects

* add changeset

* fix

* formatting

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-09-18 16:33:19 +04:00
Ali Abdalla
fcd25f7c83
New branch (#9370)
* add find

* fix syntax

* add hidden files
2024-09-17 22:49:56 +04:00
Ali Abdalla
047964d62d
New branch (#9369)
* add find

* fix syntax
2024-09-17 22:32:24 +04:00
Ali Abdalla
384982176c
add find (#9368) 2024-09-18 02:26:39 +08:00
pngwn
f61d7024d9
chunk space uploads (#9360)
* chunk space uploads

* Update upload_demo_to_space.py

Co-authored-by: Lucain <lucainp@gmail.com>

* address comments + tweak CI

---------

Co-authored-by: Lucain <lucainp@gmail.com>
2024-09-17 15:21:49 +08:00
Nikita Krasnytskyi
b888db4a9a
Updated Guide: Real Time Speech Recognition (#9349)
* Update real-time-speech-recognition.md

added necessary dependency

* Update run.py

updated code to handle cases with stereo microphone

* Update real-time-speech-recognition.md

improved english

* Update run.py

updated code for streaming

* Update run.py
2024-09-16 15:16:48 +00:00
Julien Chaumond
9f0fe392c9
small fixes (#9347) 2024-09-13 10:07:15 -04:00
Gradio PR Bot
81a1132d30
chore: update versions (#9298)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-09-10 14:38:52 -07:00
Freddy Boulton
8f8e1c6a0b
Fix multiple trigger bug when function has js (#9188)
* add code

* add changeset

* lint

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-09-10 13:18:31 -07:00
aliabid94
ac2c015bd8
Fileformat whitelist (#9302)
* changes

* add changeset

* Update routes.py

---------

Co-authored-by: Ali Abid <aliabid94@gmail.com>
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-09-10 18:55:12 +00:00
Freddy Boulton
ecf9137762
Add root_url to components created by gr.render (#9267)
* Fix bug

* add changeset

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-09-10 11:24:40 -04:00
Freddy Boulton
fb5845c353
Separate starlette.Request from PredictBody. Only set in new PredictBodyInternal object (#9279)
* use custom pydantic type annotatio

* add changeset

* Add code

* add changeset

* rework

* dont use arbitrary_types_allowed

* add changeset

* fix test

* revert path change

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-09-10 11:07:35 -04:00
aliabid94
8362a10a7e
Fix scrollbars everywhere (#9276)
* changes

* add changeset

* scroll fix

* remove .json css, adjust scroll height to account for label

---------

Co-authored-by: Ali Abid <aliabid94@gmail.com>
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Hannah <hannahblair@users.noreply.github.com>
2024-09-09 23:23:59 -07:00
Tayfun Sen
278af1995b
Update docs to use new Image init (#9304) 2024-09-09 22:45:12 -07:00
Ikko Eltociear Ashimine
bcb3a2b9a0
chore: update error.svx (#9291)
* chore: update error.svx

occured -> occurred

* add changeset

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-09-09 11:26:30 -04:00
Gradio PR Bot
b635a31714
chore: update versions (#9168)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-09-06 09:10:25 +08:00
Abubakar Abid
d9c4c8606a
Pin fastapi<0.113.0 in requirements.txt (#9277)
* fastapi requirement

* add changeset

* add changeset

* add changeset

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-09-06 00:12:01 +00:00
Smirking Kitsune
d0e93d70e8
Fix for create_or_modify_pyi read_text Windows Issue in component_meta.py (#9242)
* Fix for create_or_modify_pyi read_text in component_meta.py

In some environments the `read_text()` call in `create_or_modify_pyi` will not use expected encoding when reading the `source_file`. In Unix environments (and presumably MacOS though I have not tested), this will default to use the 'utf-8' encoding, which is what the `source_file` are encoded in. In Windows, it seems to default to a different encoding when 'utf-8' should be selected.

* add changeset

* format

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2024-09-02 17:00:47 +00:00
pngwn
3817d82f09
disable cache (#9237)
* disable cache

* disable cache
2024-09-01 23:58:47 +08:00
pngwn
5bf00b7524
make all component SSR compatible (#9187)
* asd

* fixes

* make all components ssr compatible

* remove files

* add changeset

* add changeset

* review

* format

* clean

* address comments

* tweaks utils

* add changeset

* fix plot and audio

* format

* fix nativeplot

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-08-31 06:19:51 +00:00
SK
5f2e047c2c
Add a 'None' option to the gradio.Image component to disable image_m… (#9225)
* Add a 'None' option to the gradio.Image component to disable image_mode conversion behavior

* Set None option to None Keyword

* add changeset

* changes

* format

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2024-08-30 21:54:11 +00:00
Ali Abdalla
284fafb215
Fix pr previews cloudflare (#9209)
* tet

* add changeset

* fix branch to preview

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-08-29 02:22:45 +00:00
Ali Abdalla
5878fb189c
correct path (#9208) 2024-08-29 01:42:26 +00:00
Ali Abdalla
bdbcf7b0e3
Cloudflare migration (#9206)
* cloudflare packages

* cloudflare github action

* remove comment

* add changeset

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-08-28 18:07:38 -07:00
WH-Yoshi
2daf3d10f5
Adding maxlength attribute handling of textarea and input HTML element for the gr.TextBox() component via a max_length parameter (#9185)
* Testing - NOT SURE

* changed max_length name

* Finished adding max_length handling

* Changed Readme

* add changeset

* Update test_textbox.py

* changes

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2024-08-27 23:42:05 +00:00
Freddy Boulton
ab142ee13d
Fix serialization error in curl api (#9189)
* Fix code

* add changeset

* Fix code

* fix

* add another test

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2024-08-27 18:49:36 -04:00
pngwn
4a85559219
Fic install deps again (#9177)
* always install pnpm

* clean upo
2024-08-22 20:10:09 +01:00
pngwn
28136bbda7
fix install (#9174) 2024-08-22 19:03:36 +01:00
pngwn
2b6cbf2590
Fix published package exports (#9163)
* rename

* save patch

* fix everything

* format

* rm file

* fix stuff

* tweaks

* tweaks

* tweaks

* tweaks

* tweaks

* asd

* asd

* asd

* asd

* asd

* asd

* asd

* fix

* Fix scripts/run_lite.sh and scripts/build_lite.sh (#9170)

* fixes

* fixes

* asd

* asd

* asd

* review comments

* fiux types

* fiux types

* make fileexpolorer public

* format

* lint

* lint

---------

Co-authored-by: Yuichiro Tachibana (Tsuchiya) <t.yic.yt@gmail.com>
2024-08-22 16:38:45 +00:00
pngwn
c725c04b4e
add command to fe install deps (#9171)
* add command to fe install deps

* tweak
2024-08-22 12:43:22 +01:00
Ali Abdalla
8f5a8950c9
Fix native plot lite demos (#9160)
* add demos

* add changeset

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-08-21 18:40:46 -07:00
Gradio PR Bot
fac5a7fafe
chore: update versions (#9072)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-08-21 11:35:46 -07:00
Dawood Khan
173c7b8624
Chatbot Image size and list fixes (#9161)
* fixes

* add changeset

* stor

* radius

* max height

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-08-21 13:43:56 -04:00
Hannah
ba6322ec2b
Fix image height content fit (#9116)
* fix image height content fit

* add changeset

* use `scale-down` instead of `contain`

* add changeset

* fix spacing

* apply image uploader styling to image preview

* Fix image/shared/ImagePreview style

* Fix

* Remove unnecessary styles from .image-frame

* Revert prev for the fullscreen mode

* Add stories

* fix python test

* move story files, fix python tests

* add changeset

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Yuichiro Tachibana (Tsuchiya) <t.yic.yt@gmail.com>
2024-08-21 18:41:40 +01:00
pngwn
4375f2e28a
tweak (#9165) 2024-08-21 18:32:10 +01:00
Freddy Boulton
39ee02523a
Set python version in CI cache key (#9164)
* Set python version in CI cache key

* restore key
2024-08-21 12:25:37 -04:00
Hannah
41d5ab987b
Add placeholder param to Image and ImageEditor to replace upload image text (#8930) 2024-08-21 01:22:17 +02:00
Abubakar Abid
747013bbac
Allow accessing the entire row of selected values in gr.DataFrame (#9128)
* s

* changes

* docstring

* add changeset

* format

* typing

* revert

* add changeset

* changes

* add changeset

* add changeset

* js

* add changeset

* remove col value

* lint

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-08-20 21:08:29 +00:00
aliabid94
f1ef94a435
Open media type files in browser (#9151)
* changes

* add changeset

* changes

* add changeset

* changes

* changes

* changes

* changes

* changes

* changes

---------

Co-authored-by: Ali Abid <aliabid94@gmail.com>
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-08-20 11:31:13 -07:00
Freddy Boulton
675b50b2e5
Use python 3.10 (#9158) 2024-08-20 13:52:53 -04:00
pngwn
c41fc7021c
Update previews-build.yml (#9152) 2024-08-20 10:39:59 +01:00
Abubakar Abid
8715f10339
Allow gr.Request to work with ZeroGPU (#9148)
* pickleable

* add test

* routes

* add changeset

* one mroe test

* format

* rename test

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-08-19 15:02:28 -07:00
Hannah
04b7d327ec
Allow drag and replace image in gr.Image and Multimodal textbox (#9031)
* allow dragging image over current image value in imageeditor

* add changeset

* add drag to image

* add changeset

* type fixes

* tweak

* tweak

* add test

* add changeset

* revert image editor changes (i.e. give up)

* add changeset

* add changeset

* tweak

* Ensure drag and drop functionality works in Multimodal textbox (#9125)

* allow uploading files via drag

* wrap tweak

* * fix input
* improve a11y
* fix thumbnail scrolling

* tweak

* add changeset

* add changeset

---------

Co-authored-by: pngwn <hello@pngwn.io>
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2024-08-19 15:46:54 +01:00
pngwn
de1f7a2b89
Create test app for components / SSR testing. (#9138)
* test app

* test app

* add changeset

* private

* title

* add changeset

* format

* asd

* asd

* asd

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-08-19 11:00:03 +01:00
pngwn
523bc29b2e
Update action.yml (#9142) 2024-08-19 00:10:58 +01:00
Lucain
6e7d9e5b84
Deal with OAuth too many redirects (#8951)
* Deal with OAuth too many redirects

* add changeset

* Redirect to non-iframe view in case of redirect

* add changeset

* apply suggestions

* use constant for MAX_REDIRECTS

* lint

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2024-08-15 21:07:08 +00:00