aliabid94
375bfd28d2
Support simplified event api for event only updates ( #7407 )
...
* changes
* add changeset
* changes
* changes
* changes
* add changeset
* changes
* changes
* changes
* changes
* changes
* changes
* changes
* changes
* chanegs
* 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-03-05 09:06:53 +00:00
Abubakar Abid
fc4c2dbd99
Allow Python Client to upload/download files when connecting to Gradio apps with auth enabled ( #7555 )
...
* client
* fix auth client
* add changeset
* fix test
* fix test
* fixes
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-03-04 08:07:33 -08:00
renovate[bot]
4b0d589330
chore(deps): update all non-major dependencies ( #7340 )
...
* chore(deps): update all non-major dependencies
* 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>
2024-03-04 14:04:14 +00:00
Yanis Lukes
2de329d8cf
Update client.py: Docs typo ( #7585 )
2024-03-03 14:24:46 -08:00
Abubakar Abid
eda33b3763
Refactors get_fetchable_url_or_file()
to remove it from the frontend ( #7528 )
...
* fetch
* add changeset
* add changeset
* simplify
* add changeset
* changes
* format
* add changeset
* changes
* format
* fixes
* lint
* fix components
* fixes
* typing
* format frontend
* path
* fixes
* fix stories
* lint
* lint
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-02-26 13:01:00 -08:00
pngwn
bacbc70fa1
chore: update versions ( #7463 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-02-22 13:29:11 -08:00
Abubakar Abid
ddd4d3e4d3
Reverts the revert that dropped changes from 2 PRs ( #7495 )
...
* Revert "Revert "changes""
This reverts commit 032435368d
.
* patch
2024-02-20 18:36:10 -08:00
Ali Abid
254c7dc9c3
Revert "changes"
...
This reverts commit 96ab4e5314
.
2024-02-20 16:21:47 -06:00
Ali Abid
2de756c69d
Revert "changes"
...
This reverts commit 6a93633054
.
2024-02-20 16:21:39 -06:00
Ali Abid
032435368d
Revert "changes"
...
This reverts commit 19dd2218dc
, reversing
changes made to 6a93633054
.
2024-02-20 16:21:27 -06:00
Ali Abid
19dd2218dc
changes
2024-02-20 15:54:15 -06:00
Ali Abid
6a93633054
changes
2024-02-20 15:53:56 -06:00
Ali Abid
96ab4e5314
changes
2024-02-20 15:52:57 -06:00
Aarni Koskela
17b6840887
Enable Ruff S101 ( #7477 )
...
* Update to Ruff 0.2.2
* Enable Ruff S101; don't use asserts in runtime code, or AssertionErrors for flow control
2024-02-19 13:29:20 -08:00
Abubakar Abid
b7a97f29b8
Update httpx
to httpx>=0.24.1
in requirements.txt
( #7443 )
...
* update httpx requirement
* add changeset
* add to client
* add changeset
* fix version
* reorder
* test
* try force reinstall
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-02-16 15:43:01 -08:00
pngwn
7b84bc4f05
chore: update versions ( #7387 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-02-14 14:17:50 -08:00
Abubakar Abid
32b317f24e
Set root
correctly for Gradio apps that are deployed behind reverse proxies ( #7411 )
...
* testing
* add changeset
* test
* backend
* fix
* add unit tests
* testing
* remove check
* add changeset
* trying something
* add changeset
* override
* add changeset
* fix
* fix
* clean
* lint
* route utils
* add changeset
* changes
* add changeset
* test
* revert testing
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-02-14 16:14:02 +00:00
pngwn
bb4126cc24
chore: update versions ( #7338 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-02-09 22:15:34 -08:00
Freddy Boulton
6dfd40fc6b
Make set_documentation_group a no-op ( #7377 )
...
* push
* Use (
* add changeset
* add changeset
* fix
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2024-02-09 16:53:21 -08:00
Abubakar Abid
7302a6e151
Fix gr.load
for file-based Spaces ( #7350 )
...
* changes
* add changeset
* fixes
* changes
* fix
* add test
* add changeset
* improve test
* Fixing `gr.load()` part II (#7358 )
* audio
* changes
* add changeset
* changes
* changes
* changes
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
* Delete .changeset/fresh-gifts-worry.md
* add changeset
* format
* upload
* add changeset
* changes
* backend
* print
* add changeset
* changes
* client
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-02-09 11:24:00 -08:00
Abubakar Abid
49d9c48537
[WIP] Refactor file normalization to be in the backend and remove it from the frontend of each component ( #7183 )
...
* processing
* add changeset
* changes
* add changeset
* add changeset
* changes
* changes
* clean
* changes
* add changeset
* add changeset
* root url
* refactor
* testing
* testing
* log
* logs
* fix
* format
* add changeset
* remove
* add root
* format
* apply to everything
* annoying fix
* fixes
* lint
* fixes
* fixes
* fixes
* fix tests
* fix js tests
* format
* fix python tests
* clean guides
* add changeset
* add changeset
* simplify
* add changeset
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: pngwn <hello@pngwn.io>
2024-02-07 14:39:33 -08:00
Abubakar Abid
b95d0d043c
Allow setting custom headers in Python Client ( #7334 )
...
* add headers
* add changeset
* fix
* test
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-02-07 07:19:53 -08:00
pngwn
2382f741ff
chore: update versions ( #7177 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-02-06 15:19:29 -08:00
Yuichiro Tachibana (Tsuchiya)
b25e95e164
Fix processing_utils.save_url_to_cache()
to follow redirects when accessing the URL ( #7322 )
...
* Fix `processing_utils.save_url_to_cache()` to follow redirects when accessing the URL
* add changeset
* follow more redirects
* format
* add changeset
* add test
* validate urls
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2024-02-06 19:46:20 +00:00
Aarni Koskela
0fddd0f971
Determine documentation group automatically ( #7062 )
2024-02-05 17:25:34 +04:00
Aarni Koskela
05d8a3c803
Update ruff to 0.1.13, enable more rules, fix issues ( #7061 )
...
* add changeset
* Update ruff to version 0.1.13
* Correct ruff target version
* Enable more Ruff rules and fix issues
* Enable ARG and fix issues
* Enable PL lints, fix issues
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-02-01 11:32:40 -08:00
pngwn
4cfd8dcde8
Make ci work ( #7233 )
...
* update ci
* test
* test
* test
* test
* test
* test
* test
* test
* editable install
* editable install
* escape backslashes for bash
* escape backslashes for bash
* only generate website json in linux
* that was stupiud
* check ci still works
* please work
* pretty please?
* errr
* now?
* more
* more
* more
* deploy space
* deploy space
* tweaks
* changes
* tweaks
* tweaks
* tweaks
* tweaks
* tweaks
* final tweaks
---------
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2024-02-01 00:46:55 +00:00
aliabid94
68a54a7a31
Improve chatbot streaming performance with diffs ( #7102 )
...
* changes
* add changeset
* changes
* add changeset
* changes
* channges
* changes
* changes
* changes
* changes
* changes
* changes
* changes
* changes
* changes
* changes
* changes
* changes
* changes
* changes
* canges
* changes
* changes
* changes
* Update free-moose-guess.md
* changes
---------
Co-authored-by: Ali Abid <aliabid@Alis-MacBook-Pro.local>
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Ali Abid <aliabid94@gmail.com>
2024-01-31 10:39:46 -08:00
Abubakar Abid
3c8c4ac2db
Document the gr.ParamViewer
component, and fix component preprocessing/postprocessing docstrings ( #7116 )
...
* add paramviewer to docs
* add changeset
* type fixing
* round to
* format
* revert to make test pass
* remove msg
* add changeset
* annotated image
* annotated image
push
* audio
* changes
* changes
* audio
* audio
* changes
* remove borders from code
* working
* fixes
* add changeset
* formatting
* build fix
* changes
* ls
* more components
* format
* some more
* more
* component
* plots
* buttons
* simple backend
* number
* more
* more
* simple templates
* format
* fixes
* backend
* fix tests
* fix test
* fixes
* formatting
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: aliabd <ali.si3luwa@gmail.com>
2024-01-31 09:36:21 -08:00
Freddy Boulton
9f23b0bc54
Optimize client view_api method ( #7178 )
...
* Re-order code
* add changeset
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-01-26 13:33:37 -05:00
PSEUDOTENSOR / Jonathan McKinney
40e6ddf911
Fixes #7136 -- gradio client iterator can hit finish event before yield all outputs ( #7151 )
2024-01-25 16:57:30 -08:00
PSEUDOTENSOR / Jonathan McKinney
d72492a3cc
Fixes https://github.com/gradio-app/gradio/issues/7086 ( #7091 )
2024-01-21 10:53:36 -08:00
pngwn
0a2ba5d0b0
chore: update versions ( #7004 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-01-19 00:13:02 -05:00
Freddy Boulton
1fc8a94138
fix lint ( #7075 )
2024-01-18 20:49:51 -05:00
aliabid94
3c3cf8618a
Fix UI freeze on rapid generators ( #7055 )
...
* changes
* add changeset
* changes
---------
Co-authored-by: Ali Abid <aliabid@Alis-MacBook-Pro.local>
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-01-18 11:50:14 -08:00
WilliamHarer
64c65d8219
Add encoding to open/writing files on the deploy_discord function ( #7054 )
...
* Update client.py
Make open discord_chat.py call encoded to utf-8
* Update client.py
Add another encoding to line 850
* add changeset
* add changeset
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-01-18 14:40:59 -05:00
pngwn
3a0a11cf42
chore: update versions ( #6882 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-01-04 16:02:25 -08:00
aliabid94
6c863af92f
Fix functional tests ( #6931 )
...
* changes
* add changeset
* add changeset
* changes
* changes
* changes
* add changeset
* changes
* changes
* changes
* changes
* changes
* changes
---------
Co-authored-by: Ali Abid <aliabid@Alis-MacBook-Pro.local>
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2024-01-04 15:39:16 -08:00
Yuichiro Tachibana (Tsuchiya)
649cd4d680
Use EventSource_factory
in open_stream()
for Wasm ( #6820 )
...
* Use `EventSource_factory` in `open_stream()` for Wasm
* 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-12-30 23:28:54 +04:00
Yuichiro Tachibana (Tsuchiya)
0cf93e50b8
Make shell scripts executable and fix their shebangs ( #6901 )
...
* Add executable permission to scripts/*.sh
* Set -eu to the shebang in /scripts/*.sh
* Fix client/python/scripts/*.sh
2023-12-29 08:21:51 -08:00
pngwn
227221f887
chore: update versions ( #6855 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-12-22 13:05:17 -08:00
Freddy Boulton
d406855795
Fix JS Client when app is running behind a proxy ( #6863 )
...
* Fix subdomain
* add changeset
* lint
* Ts check
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2023-12-22 15:00:42 -05:00
Abubakar Abid
48d6534b40
Add show_api
parameter to events, and fix gr.load()
. Also makes some minor improvements to the "view API" page when running on Spaces ( #6846 )
...
* show api
* chnages
* add changeset
* changes
* changes to interface
* set show_api=False
* changes
* development
* examples
* changes
* add changeset
* changes
* changes
* format
* add changeset
* add changeset
* changes
* revert
* fixes
* is vaild
* push
* fixes'
* fixing
* fixes
* format
* fixed
* demo
* test
* format
* add changeset
* fix tests
* fix
* format
* cleanup
* remove
* fixes
* add test
* format
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2023-12-22 11:59:02 -08:00
Abubakar Abid
7bb561a294
Rewriting parts of the README and getting started guides for 4.0 ( #6767 )
...
* doc rewrite
* changes
* changes
* tip
* changes
* notebook
* add changeset
* history
* add
* quickstart done
* readme
* changes
* quickstart
* changes
* reorder
* link
* changes
* changes
* changes
* quickstart done
* readme
* quickstart
* quickstart'
* moving around
* spaces
* readme
* guides
* guides
* links
* readme
* readme
* readme
* readme
* readme
* readme
* readme
* readme
* readme
* readme
* email address
* add changeset
* shorten quickstart
* readme
* Update README.md
* readme
* changes
* Update guides/01_getting-started/01_quickstart.md
Co-authored-by: Ali Abdalla <ali.si3luwa@gmail.com>
* Update guides/01_getting-started/01_quickstart.md
Co-authored-by: Ali Abdalla <ali.si3luwa@gmail.com>
* Update guides/01_getting-started/01_quickstart.md
Co-authored-by: Ali Abdalla <ali.si3luwa@gmail.com>
* changes
* changes
* remove gr.Interface.load
* guides
* changes
* more changes
* changes
* sharing
* concurrency
* changes
* changes
* components
* key features
* event listeners
* features
* notebook
* test
* guides
* changes
* changes
* changes
* transitions
* readme links
* links
* links
* guides
* new gif
* add gif
* update gif
* Update guides/02_building-interfaces/01_more-on-examples.md
* Update guides/03_building-with-blocks/01_blocks-and-event-listeners.md
* Update guides/01_getting-started/01_quickstart.md
Co-authored-by: Ali Abdalla <ali.si3luwa@gmail.com>
* Update guides/01_getting-started/02_key-features.md
Co-authored-by: Ali Abdalla <ali.si3luwa@gmail.com>
* Update guides/01_getting-started/02_key-features.md
Co-authored-by: Ali Abdalla <ali.si3luwa@gmail.com>
* Update guides/02_building-interfaces/00_the-interface-class.md
Co-authored-by: Ali Abdalla <ali.si3luwa@gmail.com>
* Update guides/01_getting-started/01_quickstart.md
Co-authored-by: Hannah <hannahblair@users.noreply.github.com>
* Update guides/01_getting-started/02_key-features.md
Co-authored-by: Hannah <hannahblair@users.noreply.github.com>
* Update guides/01_getting-started/02_key-features.md
Co-authored-by: Hannah <hannahblair@users.noreply.github.com>
* changes
* replace space
* changes
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Ali Abdalla <ali.si3luwa@gmail.com>
Co-authored-by: Hannah <hannahblair@users.noreply.github.com>
2023-12-20 11:07:48 -08:00
pngwn
160e389580
chore: update versions ( #6825 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-12-19 16:17:10 -08:00
aliabid94
828fb9e6ce
Refactor queue so that there are separate queues for each concurrency id ( #6814 )
...
* change
* changes
* add changeset
* add changeset
* changes
* changes
* changes
* changes
---------
Co-authored-by: Ali Abid <ubuntu@ip-172-31-25-241.us-west-2.compute.internal>
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2023-12-19 11:42:56 -08:00
pngwn
9ea7b6f05c
chore: update versions ( #6797 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-12-15 15:39:46 -08:00
Freddy Boulton
245d58eff7
Improve how server/js client handle unexpected errors ( #6798 )
...
* Client fixes
* fix
* add changeset
* commented out code
* add changeset
* Log error give generic message
* Add client side catch
* remove exception 😂
* Add test
* Fix info and warning
* lint
* Use BaseException
* Use event_callbacks
* Use event_id not present
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2023-12-15 16:01:27 -05:00
pngwn
dc131b64f0
chore: update versions ( #6779 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-12-14 13:14:57 -08:00
Freddy Boulton
34f943101b
Python client properly handles hearbeat and log messages. Also handles responses longer than 65k ( #6693 )
...
* first commit
* newlines
* test
* Fix depends
* revert
* add changeset
* add changeset
* Lint
* queue full test
* Add code
* Update + fix
* add changeset
* Revert demo
* Typo in success
* Fix
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2023-12-13 17:47:06 -05:00