Abubakar Abid
8793719924
Adds better warnings / error messages for gr.Interface.load()
( #2694 )
...
* added better docs
* formatting
* changelog
2022-11-22 22:44:47 -06:00
Abubakar Abid
69146696d2
Increase websocket size to 1 GB ( #2709 )
...
* websocket size
* changelog
2022-11-22 22:37:05 -06:00
Ali Abdalla
4b0820a9fb
Apply different formatting for the types in component docstrings ( #2707 )
2022-11-22 19:21:15 -08:00
Ali Abdalla
67275ec1d6
Add open in colab buttons to demos in docs and /demos ( #2608 )
...
* add generate_notebooks and run it
* add buttons to demos tab
* add buttons to docs
* add github check
* fix erros
* Update run.py
* Update run.py
* fix github action
* add nbformat
* wget files from demo directory
* testing with regex
* typo in github action
* cd first
* correct notebooks
* remove prit
* testing
* regenerate ids in notebooks
* testing action
* testing action
* testing action
* sort files before wget so no git diff
* skip DS store and others as sub files
* example demo change without notebook change
* fixes
* example demo change without notebook change
* example regenerated notebooks
* Update CHANGELOG.md
* Update CHANGELOG.md
* Update .github/workflows/check-demo-notebooks.yml
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
* gh action comments
* gh action syntax
* gh action syntax fixes
* test demo change without generating notebooks
* ran the suggested command
* remove unnecessary script
* add notebook for upload button demo
* switch to pull_request_target
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2022-11-22 16:56:46 -08:00
Julien Chaumond
c99a323ccf
Embeds: support <gradio-app host="julien-c-coqui.hf.space"></gradio-app>
( #2692 )
...
* to support `<gradio-app host="julien-c-coqui.hf.space"></gradio-app>`
* Fix iframe srcs
* prettier
* missed ones with `gradioiframe`
* embeds
* changelog
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2022-11-22 14:12:14 -06:00
Julien Chaumond
7719fae341
Update "How to Embed" doc ( #2698 )
...
* update Embedding doc
* changelog
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2022-11-22 13:23:41 -06:00
Dawood Khan
b5f22671a2
Add Upload Button ( #2591 )
...
* add upload button
* upload button
* changelog
* Update CHANGELOG.md
* format
* update file component
* upload button fixes
* label
* remove fileupload changes
* remove file component changes
* restore lock file
* pnpm lock file
* Update CHANGELOG.md
* fixes
* fixes
* more fixes
* fix tests
* fixes
* lockfile
* fix test
* Update gradio/components.py
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2022-11-21 13:34:31 -05:00
aliabid94
084b2b832e
Make login page UI consistent ( #2684 )
...
* changes
* changes
* changes
* capitalize login
2022-11-21 12:01:57 -06:00
Victor Muštar
70227354e6
UI update: API documentation page ( #2652 )
...
* changes
* update UI
* ui update
* add font weight 600 to google font <link>
* import paths
* changes
* changes
* changes
* changes
* Update ui/packages/app/src/ApiDocs.svelte
Co-authored-by: Victor Muštar <victor.mustar@gmail.com>
* changes
* changes
* changes
* changes
* changes
* changes
Co-authored-by: Ali Abid <aabid94@gmail.com>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2022-11-20 16:21:01 -06:00
Ali Abdalla
8edc91ff4b
Correctly building frontend in gradio wheel (colab bug) ( #2679 )
...
* correcting dockerfile
* add website build in dockr
2022-11-19 15:57:45 -08:00
Abubakar Abid
5e148c3752
Adding ability to access in Fastapi request object into your function ( #2641 )
...
* fastapi requests
* formatting
* implement
* fix
* formatting
* formatting
* changelog
* added demo
* remove print
* added to guide
* changes for queuing
* changes to gr.Request
* formatting
* formatting
* fixes
* lint
* fixed tests
* fix batching
* fixing tests
* cleanup
* lint
* added tests; fixed review
* improve docs
2022-11-19 00:52:06 -08:00
github-actions[bot]
dbfa4dced1
New Version Docs ( #2676 )
...
* [create-pull-request] automated change
* empty commit
Co-authored-by: aliabd <aliabd@users.noreply.github.com>
Co-authored-by: aliabd <ali.si3luwa@gmail.com>
2022-11-18 15:15:30 -08:00
Ali Abdalla
7f9eb708b3
pinning httpx ( #2675 )
2022-11-18 14:54:19 -08:00
Abubakar Abid
cea1c35c89
Release 3.10.1 ( #2673 )
...
* release 3.10.1
* changelog
2022-11-18 11:37:18 -08:00
Ali Abdalla
b9df6f3804
add url arg to build ( #2674 )
2022-11-18 11:24:13 -08:00
aliabid94
6798ea38d7
Cleanup colab ( #2612 )
...
* changes
* changes
* changes
* changes
* Update gradio/strings.py
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2022-11-18 09:58:34 -08:00
Abubakar Abid
1c244cc342
pass in kwargs to Blocks.load()
( #2669 )
...
* pass in kwargs to Blocks.load()
* added test
* changelog
2022-11-17 17:22:16 -08:00
github-actions[bot]
36f1951305
New Version Docs ( #2663 )
...
* [create-pull-request] automated change
* allow empty
* [create-pull-request] automated change
Co-authored-by: aliabid94 <aliabid94@users.noreply.github.com>
Co-authored-by: freddyaboulton <alfonsoboulton@gmail.com>
Co-authored-by: abidlabs <abidlabs@users.noreply.github.com>
2022-11-17 13:35:37 -05:00
Abubakar Abid
1e9781cf0f
Update CHANGELOG.md ( #2664 )
2022-11-17 08:59:48 -08:00
Abubakar Abid
d5a01cc3c1
version update ( #2661 )
2022-11-17 08:18:05 -08:00
Freddy Boulton
8d59c1480e
More demo fixes ( #2656 )
...
* Minor tweaks
* Fix gr outputs
* Fix changelog
2022-11-16 15:42:24 -05:00
Abubakar Abid
8ec0a1e2b8
Quick fix to gr.utils.validate_url
( #2659 )
...
* fix validate
* formatting
* fix tests
* added flaky mark
2022-11-16 12:21:51 -08:00
pngwn
4b57984ead
add password and email textbox types ( #2653 )
...
* add password and email textbox types
* changelog + fix tests
* formatting
* fix tests maybe
* fix tests
* add more tests
* whatever
* weird thing
2022-11-15 22:23:47 +01:00
Freddy Boulton
e6336d6882
Fix bug with gr.update and interactive=True ( #2639 )
...
* Fix update interactivity
* Lint
* CHANGELOG
* Fix
* Undo interactive=True
* Do not call update twice
* Add unit test
* Revert change
* Lint
2022-11-15 11:53:35 -05:00
Freddy Boulton
ebb65eb9ee
Fix loading interface with examples ( #2640 )
...
* fix examples
* Fix test
* Add unit test
* Add CHANGELOG
* Add unit test where load external
* fix for older demos
* Add comment
2022-11-15 11:20:59 -05:00
Freddy Boulton
a8f961ec7e
Fix demos ( #2648 )
2022-11-15 10:04:01 -05:00
Ali Abdalla
7b44734b9e
export latest commit variable ( #2645 )
...
Co-authored-by: Freddy Boulton <alfonsoboulton@gmail.com>
2022-11-14 16:17:33 -05:00
Freddy Boulton
06353ca939
Pin fastapi test version to 0.87.0 ( #2647 )
...
* Pin fastapi test version
* trigger ci
* Upgrade to 0.87
* Update txt file
2022-11-14 14:31:03 -05:00
github-actions[bot]
46f4fdefba
New Version Docs ( #2633 )
...
* [create-pull-request] automated change
* allow empty
Co-authored-by: aliabid94 <aliabid94@users.noreply.github.com>
Co-authored-by: freddyaboulton <alfonsoboulton@gmail.com>
2022-11-11 11:44:45 -05:00
aliabid94
efe7d2f775
update version ( #2632 )
2022-11-10 08:30:34 +01:00
pngwn
fd31726666
only use min height for md and html when loading ( #2623 )
2022-11-09 20:48:17 +01:00
Freddy Boulton
9ec45f64b9
Move map to demos page ( #2627 )
2022-11-09 09:26:36 -05:00
Freddy Boulton
27d60792ea
Use underscore instead of parentheses ( #2625 )
2022-11-09 13:29:38 +01:00
Freddy Boulton
e9a8a85929
Remove duplicate line from changelog ( #2624 )
2022-11-09 04:43:29 -05:00
Vladimir Repin
23e6fe6bc5
Put the changelog note in the 3.9 release section ( #2620 )
...
Co-authored-by: Freddy Boulton <alfonsoboulton@gmail.com>
2022-11-09 04:35:42 -05:00
GLGDLY
b75b7b7475
Allow auth with using queue ( #2611 )
...
* 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
* feat Allow auth with using queue
* remove unused imports
* Update CHANGELOG.md
fix wrong position in changlog from the last pr #2428 also
* revert test_queue_enabled_for_fn that is changed due to unintended mistake
* remove comment
* update tests and merge main thread
Co-authored-by: Freddy Boulton <alfonsoboulton@gmail.com>
Co-authored-by: Ali Abid <aabid94@gmail.com>
2022-11-09 04:24:51 -05:00
Ali Abdalla
127279ad33
support quickstart paths ( #2619 )
2022-11-08 15:03:43 +01:00
Abubakar Abid
643ec37e71
Tweaks to performance guide ( #2617 )
...
* guide improvemnet
* renmaed
2022-11-08 13:53:50 +01:00
Ali Abdalla
f9e9654225
reload on every commit ( #2618 )
2022-11-08 13:21:31 +01:00
Ali Abdalla
a80084f3df
Dropdown for seeing docs as latest or main ( #2544 )
...
* support docs for pip and git
* upload spaces with gradio wheel
* aws
* upload wheel to aws
* fix error in docker compose
* fix dockerfile
* fix dockerfile
* fix upload demos
* fix upload demos
* styling
* fake change
* remove check_version
* fixes
* fix buttons
* fix navigation on main
* add github action
* build version docs in docker
* fix path and docker errors
* add requests
* fix command
* more docker fixes
* more docker fixes
* no prerelease
* fix restart demos
* undo fake changes, and fix build_version
* fix variable
* fix mistake
* add how to build from main
* new line to requirements
* fix instructions
* Update CHANGELOG.md
* duplicate line in Dockerfile
* switch to github actions, use separate pages
* fix issues in github action
* fix path for github action
* more fixes
* more fixes
* fix github action
* add template
* fix demos template
* update release notes for 3.9
* add -A
* refactor
* keep old version htmls
* unpin gradio version in requirements
* Update website/homepage/src/docs/template.html
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2022-11-08 13:02:05 +01:00
Abubakar Abid
010827e211
Refactoring to replace unittests with pytests ( #2610 )
...
* replace pytests with unittests
* formatting
* test blocks
* fixed test/blocks
* test components
* working on test components
* test components
* test components almost fixed
* removed unittest
* linting
* fix remaining tests
* lint
* formatting
* changelog
2022-11-08 01:37:55 +01:00
Abubakar Abid
05dcd87053
A Guide on Configuring a Gradio Queue for High-Volume Traffic ( #2558 )
...
* renamed guides and created new guide
* changelog
* more
* more text
* conc
* conc
* max performance
* guide
* finish guide
* guide
* tweaks
* tweaks
* guide
* guide
2022-11-05 18:36:46 -07: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
Freddy Boulton
f795a4d3b1
Use read_sql in database guide ( #2604 )
...
* Move demo to gradio + fix code
* Foo
* Address comments
2022-11-04 16:31:08 -04:00
Abubakar Abid
218fb9fa65
Allow gr.Templates
to take in arguments ( #2600 )
...
* template customization
* changelog
* fixes
* import
* added test
* formatting
* explicit parameters
* updated changelog
* fix typing
* fix test
2022-11-04 09:08:17 -07:00
Freddy Boulton
85e5fd0f62
Fix changelog 3.9 ( #2605 )
2022-11-04 11:08:06 -04:00
aliabid94
91abb3ae11
Allow gradio embeds in colab without share ( #2455 )
...
* changes
* change
* changes
* changes
* changes
* Update colab.html
* update version
* changes
* Update gradio/templates/colab.html
Co-authored-by: pngwn <hello@pngwn.io>
* changes
* changes
* changers
* changes
* changes
* changes
* changes
* changes
* changes
* changes
* changes
* changes
* changes
* changes
* changes
* changes
* changes
* changes
* changes
* changes
* changes
* changes
* changes
* changes
* changes
* changes
* changes
* revert
* changes
* changes
* changes
* strings
* formatting
* changes
* changes
* changes
* changes
* changes
* changes
* changes
* changes
* changes
* changes
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
Co-authored-by: pngwn <hello@pngwn.io>
2022-11-03 15:51:30 -07:00
Abubakar Abid
43f5cf5f30
Load example from external Spaces ( #2594 )
...
* started
* loading examples
* saves
* fixes
* formatting
* iocomponent
* added support to other components
* fixed tests
* added video support
* added 1 test
* more changes
* reverted components.py
* remaining components
* formatting
* fixes
* fixes
* tests
* fixed ability to load multiple spaces
2022-11-03 12:35:56 -07:00
Freddy Boulton
26abbe6269
Small restructure of guide layout on website ( #2597 )
...
* Move around some guides
* remove whitespace
* trigger ci
2022-11-03 15:28:09 -04:00
Vladimir Repin
ad62a8a8a3
Fixed upload dialog being showed after pressing "x" button ( #2577 )
...
* Fixed upload dialog being showed on clear #2476
* Changelog update
* Formatting fix
* click replaced with disable_click
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
Co-authored-by: Dawood Khan <dawoodkhan82@gmail.com>
2022-11-02 16:28:38 -07:00