* queue-refactor-backend (#1489)
* queue-refactor-backend
- create a template for the new design
* queue-refactor-backend
- clean after the old queue
* queue-refactor-backend
- add basic test to websocket endpoint
* queue-refactor-backend
- small fix
* queue-refactor-backend
- debugs&fixes&finalizations
- test the flow with postman
* queue-refactor-backend
- tweaks on websocket closing
* queue-refactor-backend
- cleanup
* queue-refactor-backend
- cleanup & tweaks
* queue-refactor-backend
- cleanup & tweaks
* queue-refactor-backend
- cleanup & tweaks
- correct the exception handling
* queue-refactor-backend
- add websockets dependency
* queue-refactor-backend
- reformat
* queue-refactor-backend
- add single event test
* queue-refactor-backend
- tweaks
- remove outdated tests
* queue-refactor-backend
- reformat
* queue-refactor-backend
- reformat
* queue-refactor-backend
- reformat
* queue-refactor-backend
- add Queue configurations to Blocks.launch()
- add live_queue_update to send estimations whenever a job gets fetched from the Queue
* queue-refactor-backend
- add Queue configurations to Blocks.launch()
- add live_queue_update to send estimations whenever a job gets fetched from the Queue
* queue-refactor-backend
- tweaks
* queue-refactor-backend
- make SLEEP_WHEN_FREE shorter
Co-authored-by: Ali Abid <aabid94@gmail.com>
* Add estimation parameters to queue (#1889)
* - tweaks on Estimation
* version
* Revert "version"
This reverts commit bd1f4d7bfe.
* some fix and tweaks
* implement queue frontend (#1950)
* implement queue frontend
* fix types
* fix ws endpoint in build mode
* cleanup
* Queue tweaks (#1909)
* tweaks on estimation payload
* Queue keep ws connections open (#1910)
* 1. keep ws connections open after the event process is completed
2. do not send estimations periodically if live queue updates is open
* fix calculation
* 1. tweaks on event_queue
* fix issue - create new ws for each request
* format
* fix
* fix tests
* fix tests
* tets
* test
* changes
* changes
* changes
* change'
* wtf
* changes
* changes
* file perms
* Release queue beta v1 (#1971)
* - release the new queue
* - bypass the issue in the tests
- rewrite the lost part in the codebase
* - add concurrent queue example (#1978)
* rank_eta calc
* Queue fixes (#1981)
* change
* format
* - comment out queue tests as they dont work well
* - reformat
* Update gradio/event_queue.py
Co-authored-by: Ömer Faruk Özdemir <farukozderim@gmail.com>
* changes
* changes
* change
* weird fix
Co-authored-by: Ömer Faruk Özdemir <farukozderim@gmail.com>
* release-queue-v3 (#1988)
* Fix frontend queuing to target secure WSS (#1996)
* change
* format
* changes
* queue-concurrency-tweaks (#2002)
1. make gather_data and broadcast_estimation sequential instead of concurrent because they were deleting elements at the same time and raising expections which was lowering the performance
* Update Queue API, documentation (#2026)
* changes
* changes
* fixes
* changes
* change
* fix
Co-authored-by: Ömer Faruk Özdemir <farukozderim@gmail.com>
Co-authored-by: pngwn <hello@pngwn.io>
* Add step to deploy to spaces on release
* Import package not modules
* Lint
* Hacky solution
* Add app file
* Github actions script
* Fix bucket url
* Update versioning
* Fic typo in script
* Change path
* Fix quote
* Clean up action
* Fix keys
* Formatting + comment
* Fix all_demo creation
* lint ui
* Get latest pypi version and use only 20 demos
* Test version change works correctly
* Fix gradio version
* Fix typo
* Use github sha to rebuild on every commit
* Get sha the proper way
* Change where env is accessed
* Fix typo in cp
* Undo changes to version.txt
* Add matrix transpose
* async-interface-fix
- support async in interface with workarounds
- make mix.Parallel async and concurrent
* async-interface-fix
- fix & tweaks
* fix interpretation
* async-interface-fix
- fix mix
* async-interface-fix
- fix tests
- tweaks
* async-interface-fix
- take TODO notes on interface related to refactoring
* async-interface-fix
- fix test_mix
* async-interface-fix
- test create_app
* fix series
* fix series
* reformat
* fix interface test
* - fix tests by moving them async
* - bypass the test
* - bypass the test
* - bypass the test
* - bypass the test without closing it
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
* expand nav bar to include subclasses and methods
* only show sub-links during the section
* add search
* add hotkeys
* override default shortcuts
* styling
* added x button
* broken style block
* refactoring and fixing errors
* esc key shortcut for exit
* svg file instead of b64
* using @apply
* tie guides to docs in docstrings
* reference guides in more sections
* fix missing guides in interface and blocks
* fix broken html div
* remove pinned metadata for ordering
* fix annoying comma space in guide tags
* retrigger codecov check
* fix guides bug in flagging
* add controlling layout guide to row, column, and tab
* File to display citation in the repo
* The README template updated
* Quickstart guide updated
* Smart code for smart rendering
* The new face of the king
* Typo fix and making executable
* `PIP` to lower case and knowing sentences
* Updating the CircleCI and Codecov badges
* Fix missing commas
* Replacing single quotes with double quotes
* Add Events to docs page
* Remove artifacts after rebase
* Add Load to events section as well
* Lint
* Add comments explaining underscore params in events
* Add events for all components
* Set is_class=False
* true -> True
* Specify which corner the rounded param relates to
* make the first sentence of style more descriptive
* Add sentence about only using in gradio blocks
* Add more description to container param
* fix pnpm filters for 7.x
* update ci to use pnpm 7
* try a thing
* reinstall types
* usin pnpm dlx instead of pnpx
* usin pnpm dlx instead of pnpx
* explicitly add playwright as dependency
* update lockfile
* update ci
* update ci
* install same version of @playwright/test and playwright
* fix browser downloads
* always return data/headers from dataframe postprocess
* add demo back
* handle case of no new headers but different length list
* fix tests
* change
* change
* added unit tests
* formatting
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
* Being nice to the user
* Front-end builder, CircleCI runner, and Gradio installer updated
* The testing scripts updated
* Front-end runner and the website launcher updated
* The formatters updated
* GitHub Actions and PyPI uploader scripts updated
* Updating the URLs
* Removing commented codes
* Delete a blank line