pngwn
898668596d
chore: update versions ( #5712 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-09-28 12:06:09 -07:00
pngwn
543f327723
chore: update versions ( #5596 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-09-26 14:50:39 -07:00
pngwn
51a0a2e557
chore: update versions ( #5578 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-09-18 20:54:50 -07:00
pngwn
ba4c6d9e65
chore: update versions ( #5177 )
...
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-08-23 15:41:08 -07:00
Abubakar Abid
f49028cfe3
Move markdown & latex processing to the frontend for the gr.Markdown and gr.DataFrame components ( #5268 )
...
* changes
* katex
* add changeset
* dataframe
* add changeset
* latex in dataframe
* add changeset
* lint
* lint
* stories and types
* stories
* type
* restore lock
* pnpm lock
* fix backend tests
* xray configs
* test files
* test utils
* fix utils
* add changeset
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2023-08-21 06:54:20 -07:00
Freddy Boulton
b3e50db92f
Remove aiohttp dependency ( #5244 )
...
* Remove aiohttp
* add changeset
* Add requirements file to filter
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2023-08-16 12:03:46 -04:00
pngwn
9d1bd28bdf
chore: update versions ( #5038 )
...
* chore: update versions
* update actions
* update changelog
* other changelgo
* extra
---------
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2023-08-10 16:59:00 -04:00
Lucain
947d615db6
Sign in with Hugging Face (OAuth support) ( #4943 )
...
* first draft
* debug
* add print
* working oauth
* inject OAuth profile + enable OAuth when expected + some doc
* add changeset
* mypy
* opt
* open in a new tab only from iframe
* msg
* add changeset
* Apply suggestions from code review
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
* fix injection + gr.Error
* allow third party cookie when possible
* add button to sign in/sign out button
* feedback changes
* oauth as optional dependency
* disable login/logout buttons locally
* nothing
* a bit of documentation
* Add tests for Login/Logout buttons
* Apply suggestions from code review
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
* mention required dependencies
* fix package
* fix tests
* fix windows tests as well
* Fake profile on local debug
* doc
* fix tets
* lint
* fix test
* test buttons
* login button fix
* lint
* fix final tests
---------
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>
2023-08-10 15:12:40 -04:00
Abubakar Abid
136adc9ccb
Ensure gradio_client
is backwards compatible with gradio==3.24.1
( #5061 )
...
* fix to client
* add changeset
* lint
* add changeset
* add changeset
* add changeset
* add changeset
* pin
---------
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2023-08-02 18:06:25 -04:00
Jayce Slesar
0b74a1595b
Use importlib
in favor of deprecated pkg_resources
( #5048 )
...
* fix(pkg_resources): use `importlib` in favor of `pkg_resources`
* lint
* import
* removed unnecessary version check
* fixes
* pass lint and format
* fix
* requirements
* fix all typing issues
* fix routes
* fix
* Delete forty-rooms-arrive.md
* add changeset
---------
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2023-08-01 12:26:02 -04:00
pngwn
861d752a83
chore: update versions ( #4999 )
...
* chore: update versions
* undo diff
---------
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: freddyaboulton <alfonsoboulton@gmail.com>
2023-07-26 17:10:24 -04:00
Freddy Boulton
46e4ef67d2
Deploy ChatInterface as a discord bot ( #4960 )
...
* WIP
* Handle queue full message
* Add code
* Fix types
* Format
* Add docstring
* Rephrase
* cli conflicts
* Update client/python/gradio_client/templates/discord_chat.py
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
* WIP
* Handle queue full message
* Add code
* Fix types
* Format
* Add docstring
* Rephrase
* cli conflicts
* Update client/python/gradio_client/templates/discord_chat.py
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
* Update client/python/gradio_client/templates/discord_chat.py
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
* Update client/python/gradio_client/templates/discord_chat.py
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
* Update client/python/gradio_client/templates/discord_chat.py
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
* Figure out how slash commands work
* Lint
* Fix new name situation
* Dont auto archive
* add code
* Explain sync
* add changeset
* Update client/python/gradio_client/cli/deploy_discord.py
Co-authored-by: Omar Sanseviero <osanseviero@gmail.com>
* Make more general
* Fix check
* add changeset
* Add guide
* Step-by-step guide
* Add tip on login via cli
* Fix template - auto synch
* Add note on space sleeptime
* add changeset
* Add more info for feature
* Add img
---------
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Omar Sanseviero <osanseviero@gmail.com>
2023-07-26 16:09:38 -04:00
Freddy Boulton
7b18891aae
Client: Support endpoints that return layout components ( #4871 )
...
* Add code
* CHANGELOG
* Add code
* Use set
* Modify _setup_serializers instead
* Push up code
* Remove from serializing
* Add gradio_client changes
* Update requirements.txt
2023-07-17 13:21:54 -04:00
Freddy Boulton
431140b903
Fix bug related to preprocessing URLs for video ( #4904 )
...
* Support urls
* Add unit test
* CHANGELOG
* Bump client version
* use url_like
2023-07-12 21:46:54 -04:00
Abubakar Abid
9f072796a5
Pinning dependencies in requirements.txt ( #4885 )
...
* requirements
* pins
* clogs
* python multipart
* python multipart
* clogs
* clog
2023-07-12 21:03:53 -04:00
Abubakar Abid
d65512cb3a
Fix output directory of files in client & when calling Blocks as function ( #4501 )
...
* output dirs
* remove
* remove
* remove
* changelog
* format
* add tests
* docstring
* changelog
* client
* blocks
* fix test
2023-06-14 17:08:10 -05:00
Freddy Boulton
69f36f9853
Place components separate files ( #4487 )
...
* Move files
* Add missing
* Fix tests
* Merge main
* Lint
* Remove literal
* add documentation decorator
* lint
* Remove typing_extensions
* Fix documentation tag
* ClearButton to components
* Add file
* import
2023-06-14 11:26:10 -04:00
Freddy Boulton
4a58ccee39
Fix bug where file examples can be corrupted if has multiple extensions ( #4440 )
...
* Fix bug
* Add to changelog
* Add test
* Remove breakpoint
* fix test
* increment version
* update client version req
---------
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2023-06-07 15:05:01 -05:00
aliabid94
114f4b4296
Push to spaces ( #4033 )
...
* changes
* first commit
* Update gradio/upload.py
Co-authored-by: Aarni Koskela <akx@iki.fi>
* Update gradio/upload.py
Co-authored-by: Aarni Koskela <akx@iki.fi>
* changes
* changes
* changes
* changes
* changes
* changes
* changes
* chnages
* changes
* changes
* changes
* changes
* Update 03_sharing-your-app.md
* changes
* changes
* change
* changes
* changes
* changes
* Update gradio/deploy_space.py
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
* changes
* changes
* changes
---------
Co-authored-by: Aarni Koskela <akx@iki.fi>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2023-05-31 10:13:46 +09:00
Abubakar Abid
d9acdfb7a3
Release 3.30 ( #4166 )
...
* release
* requirements
2023-05-11 15:05:55 -05:00
Freddy Boulton
3227a9b703
Fix api info for File component ( #4153 )
...
* Fix output file type info
* Fix example inputs
* CHANGELOG
* Update client
* Add test
* Bump version
* Bump min client version
2023-05-10 19:52:07 -04:00
Abubakar Abid
d7ec58126a
release ( #4116 )
2023-05-09 10:50:05 -05:00
Abubakar Abid
bebfb72b35
Misc file and docs fixes ( #4086 )
...
* uvicorn version
* uvicorn version
* changes
* guides
* guide
* changelog
* typo
* typo
* Update guides/04_integrating-other-frameworks/01_using-hugging-face-integrations.md
* chinese lang
* rename
* Update guides/04_integrating-other-frameworks/01_using-hugging-face-integrations.md
* Update guides/03_building-with-blocks/04_custom-CSS-and-JS.md
Co-authored-by: aliabid94 <aabid94@gmail.com>
* address review
* simplify section
---------
Co-authored-by: aliabid94 <aabid94@gmail.com>
2023-05-07 08:48:24 -05:00
Freddy Boulton
b66ecff671
[WIP] Language Agnostic Typing in /info
route ( #4039 )
...
* First commit
* All serializers
* Remove output type
* Add route
* Format json
* Modify dropdown and slider choices
* Fix impl
* Lint
* Add tests
* Fix lint
* remove breakpoint
* Tests passing locally
* Format code
* Address comments
* Use union + fix tests
* handle multiple file case
* Add serializer to info payload
* lint
* Add to CHANGELOG
* grc version
* requirements
* fix test
---------
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2023-05-05 19:10:34 -05:00
Dawood Khan
c06901ed05
Chatbot code syntax highlighting ( #4048 )
...
* first pass
* fixes
* more fixes
* remove breaks
* format
* version
* pr fixes
* changelog
* test fix
* background color
* format
* revert test fix
* changes
* changes
* test
* changes
* changes
* changes
* changes
* changes
---------
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
Co-authored-by: Ali Abid <aabid94@gmail.com>
2023-05-04 03:28:39 -05:00
Abubakar Abid
35507fd258
release 3.27 ( #3863 )
2023-04-14 20:30:20 -07:00
Abubakar Abid
d3b7f73bcf
Update view api page to use Python client ( #3765 )
...
* Update view api page
* simplify
* update
* changes
* changes
* updated info
* formatting
* changes
* fixes
* save
* moved
* remove test input
* tweaks
* formatting
* add raw
* serialize
* fixes
* refactor
* fixes
* fixes
* Fetch api
* lower case
* view api
* fix tests
* format
* rough design
* readme
* api docs
* examples
* format
* formatting
* format
* version
* client changes
* formatting
* update client
* more example inputs
* api docs fixes
* remove notebook
* fix demo
* demo notebook
* styling on code snippet
* formatting
* fix audio, model3d
* format
* fix tests
* version
* cleanup
* format
* format
* format
* fixes
* version
* fix tests
* version
* format
* test
* format
* changelog
* changelog
---------
Co-authored-by: freddyaboulton <alfonsoboulton@gmail.com>
Co-authored-by: aliabd <ali.si3luwa@gmail.com>
2023-04-13 16:20:33 -07:00
Greysuki
54af6ae290
Adding subtitles to gr.Video
( #3673 )
...
* v2 version now accepts video and subtitle format inputs.
* remove debug log and some format issue
* Update CHANGELOG.md
* Upload components.py and regenerate demo
* fix components and add comment to function
* fix postprocess return format
* changelog
* demo change to gr.Interface type
* fix file_types
* fixes
* added video serializer
* clean up preprocess
* clean up postprocess
* formatting
* frontend
* fixed serialization
* dataclass
* fix serialize
* version
* fix tests
* version
* changelog
* typing
* version
* changelog
* version
* versin
* fix tests
* fix tests
* backend
* test
* changes
* relax test
* fix demo
* notebook
* changes
* fix
* changes
* Update gradio/components.py
* Update client/python/gradio_client/client.py
---------
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
Co-authored-by: Ali Abid <aabid94@gmail.com>
2023-04-11 16:06:48 -07:00
Abubakar Abid
5f8186218c
Document python client in gradio.app/docs ( #3764 )
...
* document py client
* more changes
* update docs
* changes
* fix tests
* formatting
* stash
* fix tests
* documentation
* more docs
* gradio client
* changes
* rework documentation
* add to docs
* modify dockerfile
* gradio client
* address feedback
* formatting
* gradio client version
* fix tests
* tweaks to website
---------
Co-authored-by: aliabd <ali.si3luwa@gmail.com>
2023-04-06 12:58:42 -07:00
Abubakar Abid
2a8c82de01
Documentation-related fixes to the python client ( #3663 )
...
* docstring
* add documentation
* added more serialization classes
* format
* info
* is valid
* formatting
* changes
* fixups
* fix tests
* machine readable
* formatting
* client
* format
* tweaks on printing
* version
* linting
* fix tests
* update pypi requirements
* updates
* type ignore'
* fixes
* formatting
2023-03-29 15:00:20 -07:00
space-nuko
2f160e2b90
Only wrap single JS return value if not already an array ( #3594 )
...
* Only wrap single JS return value if not already an array
* Update CHANGELOG
* pin
---------
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2023-03-29 14:40:03 -07:00
Abubakar Abid
6e6121a1ac
Sets up the Python gradio
client ( #3300 )
...
* placeholder
* changelog
* added to readme
* client
* implement futures
* utils
* scripts
* lint
* reorg
* scripts
* serialization
* cleanup
* fns
* serialize
* cache
* callbacks
* updates
* formatting
* packaging
* requirements
* remove changelog
* client
* access token
* formatting
* deprecate
* format backend
* client replace
* updates
* moving from utils
* remove code duplication
* rm duplicates
* simplify
* galleryserializer
* serializable
* load serializers
* fixing errors
* errors
* typing
* tests
* changelog
* lint
* fix lint
* fixing files
* formatting
* type
* fix type checking
* changelog
* changelog
* Update client/python/gradio_client/client.py
Co-authored-by: Lucain <lucainp@gmail.com>
* formatting, tests
* formatting, tests
* gr.load
* refactoring
* refactoring'
* formatting
* formatting
* tests
* tests
* fix tests
* cleanup
* added tests
* adding scripts
* formatting
* address review comments
* readme
* serialize info
* remove from changelog
* version 0.0.2 released
* lint
* type fix
* check
* type issues
* hf_token
* update hf token
* telemetry
* docs, circle dependency
* hf token
* formatting
* updates
* sort
* script
* external
* docs
* formatting
* fixes
* scripts
* requirements
* fix tests
* context
* changes
* formatting
* fixes
* format fix
---------
Co-authored-by: Lucain <lucainp@gmail.com>
2023-03-23 15:33:44 -07:00
Freddy Boulton
8ec2b0b98a
Sharing themes ( #3428 )
...
* Rebase
* Remove build hooks
* Working implementation
* Add semver + unit tests
* CHANGELOG
* Add to docs
* Rename push_to_hub and fix typos
* Fix gallery
* Fix typo
* Address comments + tests
* Update gradio/themes/app.py
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
* Import Base as Theme. Use DefaultTheme() as fallback
* Fix types
* Make version and token truly optional
* Add version dropdown + tests
* trigger
* Support private themes and org_names
* Fix org_name typo
* Update wheel
* Fix font loading and dumping
* fixing tests
* fix tests
* formatting
* version
* remove requirements
* remove requirements
* formatting
* fix tests
---------
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2023-03-18 20:15:02 -07:00
Dawood Khan
12fb005ac8
Analytics Refactor ( #3342 )
...
* hub telemetry
* more analytics
* format
* changelog
* Gradio Status Page (#3331 )
* add status page to error message
* changelog
* link to status page on website
* move link to the right
* merge
* merge
* Add option to display gallery in preview mode (#3345 )
* Add code + api
* CHANGELOG
* dropdown (#3338 )
* fix
* fixes
* format
* changelog
* Update gradio/components.py
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
* fix clear case
---------
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
* Some improvements to Flag (#3289 )
* Fixes to button disable
* button
* formatting
* flagging fix
* fixes
* formatter
* changelog
* ormatting
* tests
* saving
* adding optionality for flagging
* updatest
* error catching
* updates
* changelog
* tests
* typing
* flag button
* formatting
* tests
* tests
* tests
* increased latency
* queue fix
* clear
* formatting
* fix
* fix tests
* Fix flaky external test (#3348 )
* Fix flaky external test
* CHANGELOG
* Undo accidental diff
* Fix flaky external test
* CHANGELOG
* Undo accidental diff
* Remove from changelog
* Use bunny file
---------
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
* updates
* format
* more updates
* threading
* fixes
* Fix error when using backen_fn and custom js at the same time (#3358 )
* Fix error when using backen_fn and custom js at the same time
* generate notebooks
* update changelog
* changes
---------
Co-authored-by: Ali Abid <aabid94@gmail.com>
Co-authored-by: Freddy Boulton <alfonsoboulton@gmail.com>
* Fix File updating (#3375 )
* Fix
* Remove line
* Add unit test
* CHANGELOG
* Remove comment
* Updated chat ui (#3370 )
* test
* changes
* chagnes
* changes
* changes
* changes
* changes
* Update CHANGELOG.md
* changes
* Update demo/chatbot_multimodal/run.py
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
* Update demo/chatbot_simple_demo/run.py
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
* changes
* changes
* changes
---------
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
* fixes
* New Version Docs (#3376 )
* [create-pull-request] automated change
* empty commit
* [create-pull-request] automated change
* empty commit
---------
Co-authored-by: abidlabs <abidlabs@users.noreply.github.com>
Co-authored-by: aliabd <ali.si3luwa@gmail.com>
* requirements
* test requirements
* Release 3.20.1 (#3390 )
* release 3.20.1
* changelog
* merge
* New Version Docs (#3392 )
* [create-pull-request] automated change
* trigger ci
---------
Co-authored-by: abidlabs <abidlabs@users.noreply.github.com>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
* merge
* Remove everything related to encryption (#3396 )
* remove requirements
* deprecate encrypt
* remove flagging
* deprecate
* formatting
* lint
* Adds a Chinese translation for the `README` (#3394 )
* add chinese readme
* add chinese readme
* update changelog
* fix render_readme and english readme
* generate readme
* remove template and quickstart files
* link to chinese from english
* fix assets paths
* link to english from chinese
* change file location
* fix link
* fix link
* fix link
---------
Co-authored-by: aliabd <ali.si3luwa@gmail.com>
* fix bad codeblock (#3401 )
* Always set queue=False if every is None for load events (#3391 )
* Always set queue=False if every is None
* CHANGELOG + linting
* Move to latest release section
* changelog
---------
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
* JS client take 2 (#3388 )
* start
* change api
* integrate into gradio
* log
* try this
* format
* changes
* format
* fix css
* fix file
* fix #3282 avoid in-place dict updates (#3405 )
* fix #3282 avoid in-place dict updates
* add tests and changelog for PR3405
* Fix markdown embedded component in docs (#3410 )
* revert to old md component demo
* changelog
* Added a section on security (#3408 )
* security
* added section on security
* security
* changes from review
* Fix local tests (#3411 )
* document embed params
* fix tests
* cleanup
* cleanup
* cleanup
* revert
* changelog
* Document web component parameters (#3407 )
* document embed params
* changelog
* iframe
* fixed review changes
* requirements
* fixes
* format
* format
* requirements
---------
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
Co-authored-by: Ali Abdalla <ali.si3luwa@gmail.com>
Co-authored-by: Freddy Boulton <alfonsoboulton@gmail.com>
Co-authored-by: pngwn <hello@pngwn.io>
Co-authored-by: Jialei <3217223+jialeicui@users.noreply.github.com>
Co-authored-by: Ali Abid <aabid94@gmail.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: abidlabs <abidlabs@users.noreply.github.com>
Co-authored-by: Uanu <92366232+uanu2002@users.noreply.github.com>
Co-authored-by: gitgithan <hanqi11991@hotmail.com>
2023-03-08 21:28:15 -05:00
Abubakar Abid
22c9254a12
Remove everything related to encryption ( #3396 )
...
* remove requirements
* deprecate encrypt
* remove flagging
* deprecate
* formatting
* lint
2023-03-06 15:06:23 -08:00
pngwn
4fd2ae081c
3229 styling ( #3233 )
...
* ensure latex css is applied
* remove z-index on error status
* changelog
* formatting
* more styling fixes + adjust error message for non space
* simplify test
* simplify test
* update notebook
* pinning mdit-py-plugins
* missed a thing
---------
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2023-02-19 15:16:08 +00:00
Freddy Boulton
4aa7d8d74b
Set minimum markdown-it-py version to 2.0.0 ( #3102 )
...
* Bump requirements
* CHANGELOG
2023-01-31 16:08:39 -05:00
aliabid94
34cf1e612b
Support media output, "/file=" endpoint on iOS ( #2961 )
...
* changes
* changes
* change
* changes
* changes
* change
* changes
* change
* changes
* changes
* changes
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2023-01-15 19:54:09 -08:00
Abubakar Abid
de0c41c1c4
Enforcing typing in blocks.py
and context.py
( #2887 )
...
* started pathlib
* blocks.py
* more changes
* fixes
* typing
* formatting
* typing
* renaming files
* changelog
* script
* changelog
* lint
* routes
* renamed
* state
* formatting
* state
* type check script
* remove strictness
* switched to pyright
* switched to pyright
* fixed flaky tests
* fixed test xray
* fixed load test
* fixed blocks tests
* formatting
* fixed components test
* uncomment tests
* fixed interpretation tests
* formatting
* last tests hopefully
* argh lint
* component
* fixed based on review
* refactor
2022-12-27 16:54:47 -05:00
Freddy Boulton
96297c0bad
LinePlot ( #2807 )
...
* First draft
* Fix tests
* Fix pdb
* Figure out stroke dash + legend position
* Add legend position
* Add back gif
* Add demo + update demo
* Format notebooks
* Changelog
* More changelog
* Undo notebooks
* Reword
* Set lower bound for altair
* Modify docstrings
* Add LinePlot image to changelog
2022-12-20 11:13:51 -05:00
Abubakar Abid
2ae718f6b7
Remove jinja2>=3.0
dependencies and release gradio==3.13.2
( #2819 )
...
* version
* removed jinja2.html method
* removed jinja2.html method
* update version
* version
2022-12-15 08:40:47 -06:00
Erik Cederstrand
c67af90663
Remove h11 pinning ( #2820 )
...
* Remove h11 pinning
No longer relevant after release of httpx==0.23.1. See https://github.com/gradio-app/gradio/pull/1680
Refs https://github.com/gradio-app/gradio/pull/1680
* Add entry in CHANGELOG
2022-12-15 08:17:55 -06:00
Freddy Boulton
9c8fa8bf45
Create docs for 3.13.0 + fix requirements.txt ( #2811 )
...
* Create docs + fix bug
* Changelog
2022-12-14 09:33:52 -05:00
Abubakar Abid
53005ab88a
Switch from SSH tunneling to FRP ( #2509 )
...
* FRP Poc (#2396 )
* FRP Poc
* Gracefully handle exceptions in thread tunneling
* comments
* Fix share error message when files are built locally (#2502 )
* fix share error message
* changelog
* formatting
* tunneling rename
* version
* formatting
* remove test
* changelog
* version
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
Co-authored-by: Wauplin <lucainp@gmail.com>
* 2509
* updated url to testing.gradiodash.com
* gradiotesting
* format, version
* gradio.live
* temp fix for https
* remove unnecessary tests
* version
* updated tunnel logic
* formatting and tests
* load testing
* changes
* Make private method + generate privilege key (#2519 )
* rm load test
* frp
* formatting
* Update run.py
* Update run.py
* updated message
* share=True
* [DO NOT MERGE] Add pymux for FRP (#2747 )
* Add pymux for FRP
* Cleaning pyamux
* Cleaning pyamux + make it work
* Forgot the thread
* Reformat
* some logs to be removed afterwards
* added share to hello world
* Transform into object
* I guess it's cleaner now
* Handle 404 + Transform to object
* Fix params names
* Add debug
* windows fix
Co-authored-by: Wauplin <lucainp@gmail.com>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
* removed share=True
* formatting
* hello world notebook
* version
* fixes
* formatting
* testing tunneling exists
* tests
* formatting
* lint
* Remove asyncio + kill proc on exit
* version
* version
* update changelog
* explicit message about reporting
Co-authored-by: Adrien <adrien@xcid.fr>
Co-authored-by: Wauplin <lucainp@gmail.com>
Co-authored-by: Ali Abid <aabid94@gmail.com>
2022-12-14 08:10:45 -06:00
GLGDLY
b1cc5be78d
Update queue with using deque & Update requirements ( #2428 )
...
* Update queue.py
* Update queue.py
* Update CHANGELOG.md
* Update CHANGELOG.md
* Update queue.py
* Update requirements.txt
websockets with version <=9.1 with raise TypeError: WebSocketCommonProtocol.__init__() got an unexpected keyword argument 'logger'
* fix issues after rebase
Co-authored-by: Freddy Boulton <alfonsoboulton@gmail.com>
2022-11-04 16:53:23 -04:00
Abubakar Abid
29f751b84b
removed analytics dependency ( #2347 )
2022-09-27 11:28:58 -05:00
Freddy Boulton
eb81fa2cf2
Skops integration: Load tabular classification and regression models from the hub ( #2126 )
...
* MVP of skops integration
* Add unit tests
* One more case
* Fix NaNs in widget data
* Remove breakpoint
* Fix typo
2022-09-06 09:15:57 -04:00
aliabid94
b1dfc9a172
Release new queue beta ( #1969 )
...
* 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>
2022-08-17 11:17:56 -07:00
Freddy Boulton
74d632eab5
Add python-3.7 tests ( #1818 )
...
* Add python-3.7 tests
* Format components
* Use latest images
* Use python instead of python3
* Force reset cache
* Reset cache
* Use Ipython 7 for python 3.7 support
* Install chrome
* Add two text files
* Reset cache
* Use Literal from typing extensions
* Update cache key
* Linting
* Fix requests tests
* Exit if running from wrong python version
* Use one requirements file
* Fix comment
* Fix comment
* Use python 3.7.13
* empty commit
* Delete chrome driver to see if it works
* Test no chrome with new cache
* Remove chrome driver install entirely
2022-07-19 10:48:46 -04:00
Abubakar Abid
9b9477abd8
installs typing extensions, releases new package ( #1805 )
2022-07-16 13:37:10 +01:00