Freddy Boulton
831ae1405f
Cancel events from other events ( #2433 )
...
* WIP
* Use async iteration
* Format + comment
* Very hacky WIP
* Fix synchronization
* Add comments + tidy up implementation
* Remove print
* Fix rebase
* Lint
* Disconnect queue when cancelled
* Add stop button for interface automaticallY
* Unit tests + interface fixes
* Skip some tests on 3.7
* Skip in 3.7
* Fix skip message
* Fix for python 3.7
* Add stop variant to button variant type union
* CHANGELOG
* Add demos/gifs to the changelog
2022-10-14 18:43:24 -04:00
Freddy Boulton
2acebe5490
Fix release notes ( #2401 )
2022-10-06 14:39:48 -04:00
aliabid94
ac378d0875
Stream works now ( #2351 )
...
* changes
* changes
* lazy load streaming deps
* lazy load streaming deps
* cleanup
* fix last chunks of streaming
* add changelog
* add changelog
* add changelog
* add changelog
* updated streaming demo
* renamed sst
* changes
Co-authored-by: pngwn <hello@pngwn.io>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2022-10-05 14:11:47 -07:00
Freddy Boulton
fb7d768013
Automated Release Notes ( #2306 )
...
* add changelog file
* Check release notes
* Fix syntax
* Fix path to changelog
* Use changelog
* Add to changelog
* Add comment
* Test comment
* Use txt file for comment body
* Fix for multiline
* rendering on website, changes to changelog
* Don't use txt file
* Fix pr number
* merge
* Split it up into two
* Test fail
* Follow example
* Fix syntax
* Delete quotes
* Add syntax
* Fix names
* Fix syntax
* Modify pr template instead and remove backticks
* Check word
* changelog file fixes
* add 3.4 release notes to changelog
* add navigation
* replace pr tag and @ usernames with links
* remove empty/unused sections from rendering
* fix format of 3.4 notes
* add releases dir and 3.0-2 notes
* render from releases dir
* remove changelog file
* Fix RN check
* Fix path
* upcoming release title
* switch to periods from dashes
* add link to changelog in docs
* Add script modify files
* Modify changelog
* change to release history
* modify gh actions
* Fix syntax
* Skip draft releases during reformatting
* skip template when rendering
* modify upcoming.md to reflect real changes
* replace links with pr tag
* Add automated release notes as a new feature in upcoming
* Update .github/PULL_REQUEST_TEMPLATE.md
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
* eUpdate website/homepage/src/style.css
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
* Misc fixes
* one file at root
* Fix Changelog check
* Modify release notes format script
* Fix format script + release notes
* Add to contributing
* Undo change to release notes from testing script
* Add pr 2373 to rl
* Modify file path
* Update .github/PULL_REQUEST_TEMPLATE.md
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
* Update .github/PULL_REQUEST_TEMPLATE.md
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
Co-authored-by: aliabd <ali.si3luwa@gmail.com>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2022-10-03 12:36:59 -07:00
Dawood Khan
42a9c2688f
Fix Multiple File Examples ( #2267 )
...
* fix multiple file examples
* format
* fix
* change demo name zip_files
* change func names
2022-09-15 14:40:59 -04:00
Ofek Lev
f43481c18a
Update package metadata ( #2226 )
...
* Update package metadata
* address review
2022-09-14 17:39:46 -04:00
Freddy Boulton
5e7f5a0f6b
Delete spaces created on PRs after a certain amount of time ( #2249 )
...
* Add script to delete spaces
* Add workflow
* See if required=false fixes it
* Fix input param
* Run again
* Test delete 2
* Delete for real
* Fix typo
* Undo changes for testing
* pass api
2022-09-14 11:15:26 -04:00
Abubakar Abid
bf1510165d
Support for iterative outputs ( #2189 )
...
* Support for iterative outputs (#2162 ) (#2188 )
* added generator demo
* fixed demo structure
* fixes
* fix failing tests due to refactor
* test components
* adding generators
* fixes
* iterative
* formatting
* add all
* added demo
* demo
* formatting
* fixed frontend
* 3.2.1b release
* removed test queue
* iterative
* formatting
* formatting
* Support for iterative outputs (#2149 )
* added generator demo
* fixed demo structure
* fixes
* fix failing tests due to refactor
* test components
* adding generators
* fixes
* iterative
* formatting
* add all
* added demo
* demo
* formatting
* fixed frontend
* 3.2.1b release
* iterative
* formatting
* formatting
* reverted queue everywhere
* added queue to demos
* added fake diffusion with gif
* add to demos
* more complex counter
* fixes
* image gif
* fixes
* version
* merged
* added support for state
* formatting
* generating animation
* fix
* tests, iterator
* tests
* formatting
* tests for queuing
* version
* generating orange border animation
* testings
* added to documentation
Co-authored-by: Ali Abid <aabid94@gmail.com>
2022-09-08 07:35:31 -07:00
Freddy Boulton
6c1bfbb42c
Fix bugs with gr.update ( #2157 )
...
* Use void to reset to original state
* Cosmetic fixes to comments
* Use keyword
* Set default value to no value
* Fix test
* Make private
* Improve comment on _Keywords.NO_VALUE
Improve comment
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
* Use NO_VALUE in `test_blocks`
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
* Update test/test_blocks.py
Use NO_VALUE in tests
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2022-09-06 17:08:38 -04:00
Abubakar Abid
3464673064
Add manual trigger to deploy to pypi ( #2192 )
...
* Create test.yml
* Update deploy-pypi.yml
* Update deploy-pypi.yml
* Delete test.yml
* fixes
* fixes
* check pypi
* check pypi
* version
* version
2022-09-06 13:49:49 -07:00
Abubakar Abid
e5fd99c79b
Update CONTRIBUTING.md ( #2118 )
...
* Update CONTRIBUTING.md
* Update helpers.sh
2022-08-30 07:42:44 -07:00
Abubakar Abid
f2733d8f94
Fix issues related to demos in Spaces ( #2086 )
...
* skip demos in all_demos that don't run
* hack for spaces
* put import back
* added audio debugger demo
* audio fix
* fixed audio debugger
* testing
* test
* remove prints
* fix
* fix
* removed import
2022-08-26 16:35:47 -07:00
Freddy Boulton
e2dc87aa2b
Reset components to original state by setting value to None ( #2044 )
...
* Fix + test
* Fix test
* Rename demo file
* Delete unused demo
* Refactor into independent demos
* change (#2059 )
* Remove chatbot
Co-authored-by: aliabid94 <aabid94@gmail.com>
2022-08-22 16:04:59 -04:00
Freddy Boulton
8e24d5d646
Deploy All Demos to Spaces on PRs ( #2012 )
...
* 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
2022-08-16 12:07:20 -04:00
Freddy Boulton
21f9da9380
Automatically deploy kitchen sink to spaces on release ( #1994 )
...
* Add step to deploy to spaces on release
* Import package not modules
* Lint
* Add comment on slack
2022-08-12 11:51:36 -04:00
aliabid94
59cf32e0f4
Still fixing 3 1 3a ( #1932 )
...
* changes
* changes
* changes
2022-08-02 08:23:37 -07:00
aliabid94
2a113b20f3
Release 3 1 3a ( #1931 )
...
* changes
* changes
2022-08-02 08:17:47 -07:00
Artin Mohammadi
bdced314bc
Scripts become much easier to read and understand ( #1918 )
...
* 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
2022-08-01 15:17:03 -07:00
Abubakar Abid
31ba09aafa
Some cleanups to the docs page ( #1822 )
...
* break execution if website isn't properly built
* small misc changes
* formatting
2022-07-19 08:53: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
aliabid94
70ebf698fa
Live website changes ( #1578 )
...
* fix audio output cache (#804 )
* fix audio output cache
* changes
* version update
Co-authored-by: Ali Abid <aliabid94@gmail.com>
* Website Tracker Slackbot (#797 )
* added commands to reload script
* catch errors with git pull
* read new webhook from os variable
* correcting bash
* bash fixes
* formatting
* more robust error checking
* only sends success if git changes
* catching error from script
* escaping error text to send with curl
* correct text escaping for error message
* fix search bug in guides (#809 )
* Update getting_started.md (#808 )
* Fix type of server returned by `Launchable` (#810 )
* `Launchable` returns a FastAPI now
* Update .gitignore
* Add a missing line to getting started (#816 )
Former-commit-id: 81e271ca22
[formerly 96f203108b
]
Former-commit-id: eaff13262853078e0c6c0baa54c731d9e56bc73f
* Add a missing line to getting started (#816 )
Former-commit-id: 81e271ca22
[formerly 81e271ca22
[formerly 96f203108b
]]
Former-commit-id: eaff13262853078e0c6c0baa54c731d9e56bc73f
Former-commit-id: b5112c3f42
* Add a missing line to getting started (#816 )
Former-commit-id: 81e271ca22
[formerly 81e271ca22
[formerly 81e271ca22
[formerly 96f203108b
]]]
Former-commit-id: eaff13262853078e0c6c0baa54c731d9e56bc73f
Former-commit-id: b5112c3f42
Former-commit-id: bce6f9c4c5
* Add a missing line to getting started (#816 )
Former-commit-id: 81e271ca22
[formerly 81e271ca22
[formerly 81e271ca22
[formerly 81e271ca22
[formerly 96f203108b
]]]]
Former-commit-id: eaff13262853078e0c6c0baa54c731d9e56bc73f
Former-commit-id: b5112c3f42
Former-commit-id: bce6f9c4c5
Former-commit-id: feba0888e3
* Add a missing line to getting started (#816 )
* Clean-History
- Remove 51MB file with this commit
Former-commit-id: 34b6a2325d613eeef622410f2d1ff3d869d3133c
* Clean-History
- Remove 51MB file with this commit
Former-commit-id: 34b6a2325d613eeef622410f2d1ff3d869d3133c
Former-commit-id: dd700c33cc
* Clean-History
- Remove 51MB file with this commit
Former-commit-id: 34b6a2325d613eeef622410f2d1ff3d869d3133c
Former-commit-id: dd700c33cc
Former-commit-id: 0d80e6a056
* Clean-History
- Remove 51MB file with this commit
Former-commit-id: 34b6a2325d613eeef622410f2d1ff3d869d3133c
Former-commit-id: dd700c33cc
Former-commit-id: 0d80e6a056
Former-commit-id: 20523b0519
* changes
* changes
* Homepage: header image size (#1347 )
* image size
* image in local assets
* add dall-e mini banner
* undo ui changes
* changes
* changes
* updates
* updates
* changes
* changes
* changes
* h11 dependency
* add npm build-mac
* expand demo button to all classes
* add demos to docstrings
* add anchor tags to headers
* add required tag to param table
* add consistent styling for headers
* skip param beginning with underscore from docs
* skip kwargs param from docs
* remove types in param docstring
* override signature to reflect usage
* add supported events
* add step-by-step guides
* fix guide contribution link
* add related spaces
* fix img styling on guides
* pin quickstart, advanced, and block guides to top
* margin fix
* autogenerated copy buttons for all codeblocks
* changes
* documentaiton
* format
* launch
* formatting
* style changes
* remove backticks
* changes
* changes
Co-authored-by: Ali Abid <aliabid94@gmail.com>
Co-authored-by: Ali Abdalla <ali.si3luwa@gmail.com>
Co-authored-by: Julien Chaumond <julien@huggingface.co>
Co-authored-by: Ömer Faruk Özdemir <farukozderim@gmail.com>
Co-authored-by: Ali <ali.abid@huggingface.co>
Co-authored-by: Victor Muštar <victor.mustar@gmail.com>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2022-07-06 16:22:10 -07:00
Freddy Boulton
057239b1d3
Use requirements.txt to specify dependencies. Delete egg-info ( #1669 )
...
* Use requirements.txt
* Fix checksum in circleci
* Ignore egg info dir
* Install from requirements.txt
* Install gradio
* Use importlib instead of pkg_resources
2022-07-04 06:57:12 -07:00
Abubakar Abid
4048ac11b7
6th try ( #1557 )
2022-06-13 13:51:32 -07:00
Abubakar Abid
3a746899c8
trying again ( #1554 )
2022-06-13 13:25:35 -07:00
Abubakar Abid
ef1abe1071
Act2 ( #1553 )
...
* configure
* testing
2022-06-13 13:09:31 -07:00
Abubakar Abid
e2336f1a72
working on github action fix ( #1552 )
2022-06-13 13:00:35 -07:00
Abubakar Abid
23cd6a02d6
permissions ( #1522 )
2022-06-10 00:39:46 -07:00
Abubakar Abid
32fcb775cb
Deploy to pypi
using GitHub actions ( #1518 )
...
* Create deploy-pypi.yml
* Update deploy-pypi.yml
* Update deploy-pypi.yml
* Update deploy-pypi.yml
* pypi action
* pypi action
2022-06-10 00:29:29 -07:00
Abubakar Abid
c7c93f54a3
updated PyPi version to 3.0.13 ( #1483 )
2022-06-07 15:54:14 -07:00
Ali Abdalla
42cee33dcf
API Docs with support for Blocks ( #1397 )
...
* backend
* updated PyPi version to 3.0.10
* updated PyPi version to 3.0.9b10
* fixes
* updated PyPi version to 3.0.9b11
* changes
* changes
* changes git push
* changes
* undo
* fixes
Co-authored-by: Ali Abid <aabid94@gmail.com>
2022-06-06 09:10:42 -07:00
aliabid94
acb3024c3e
fix ( #1415 )
2022-05-28 22:03:43 -07:00
aliabid94
988f42c4b2
Broken examples hotfix ( #1412 )
...
* fix
* changes
* changes
* changes
* changes
2022-05-28 22:01:13 -07:00
Ömer Faruk Özdemir
fc054a16ab
reload-dev-mode ( #1370 )
...
* reload-dev-mode
- add dev reload mode
* reload-dev-mode
- support reload mode from different directories as well
* reload-dev-mode
- add file reload to the dev-reload-mode
* Update contributing
* Update CONTRIBUTING.md
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
* reload-dev-mode
- fetch gradio_folder with inspect, allowing running in reload dev mode from any directory
- unite user and dev reload mode
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2022-05-25 10:12:24 +03:00
pngwn
0c94b56b0a
Cdn assets ( #1265 )
...
* create dediacted cdn bundle with correct import behaviour
* tweak regex
* update publish script
* fix gitignore
* remove repeat incidences of version
* remove logs
2022-05-15 20:43:36 +01:00
Abubakar Abid
63d0a28c08
Website Design Changes ( #1015 )
...
* adding gallery
* added netlify files
* new navbar design
* header section new design
* used by section new design
* cards section new design
* integrates with section new design
* customer stories section new design
* footer and gradient
* demos section new design
* docs fixes
* docs reorg
* docs reorg
* upgrading to tailwind 3
* tailwind config changes
* navbar new design
* fixing body on all pages
* Updating Guides (#1012 )
* updating getting started
* updated codecov version
* tweaks to gs
* added netlify file
* added netlify file
* website prebuild script
* increased code size
* blocks
* edits
* blocks_hello
* hello world
* guide
* merge main
* added flipper demo
* guide
* guide
* add guides
* tweak to refresh website
* header section new design
* demos section new design
* cards design
* used by section
* tweets section
* footer on all pages
* mobile responsive fixes
* mobile responsive fixes
* https fonts
* completed blocks guide
* unify components
* minor tweaks
* docs headers styling and navigation pane
* parameter code blocks
* styling description and input type
* parameter tables and other styling
* only documenting interactive components when possible
* guides
* embedding not working
* demos not working
* fixing demo code
* fixing demos
* demo fix
* updated demos
* updated demos
* ui update
* updated docstrings
* updated code snippets so they run
* updating docs
* Interface docs
* updating interface
* fixing parameters in interface.py
* required and defaults for interface, and styling
* fixing up interface (#1207 )
* fixing up interface
* fixed interface methods
* formatting
* updating interface docs
* updating interface docs
* formatting
* docstring to load from docstrings
* fixed colors
* finalize interface content
* interface examples
* fixed examples
* added some blocks docs
* blocks
* component fixes
* reorganized some files (#1210 )
* formatting
* added info for every component
* fixes
* blocks docs
* added blocks demos
* adding combined interfaces
* added parallel, series
* Doc: layout update (#1216 )
* doc layout
* home spacing
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
* adding layouts
* layouts done
* added events for components
* formatting and https
* brings back dropdown and other components
* fix header ids
* moved ids and fixed nav
* added parameters for remaining component
* docstring fixes
* landing page demos
* demo window placeholder
* demo nav
* fixed test
* formatting
* demo code
* correctly importing gradio css/js
* remove keyvalues
* modify launch script to move gradio assetS
* components embedded test
* correct demo name
* hide try demo and embedding
* local devserver changes
* create embedding json with configs
* changes
* fixes
* comment out layout docs
* demo work
* demo fixes
* demo embedding fixes
* typo
* jinja fix
* demo nav fix
* hide demo button
* formatting
* removed whitespace
* remove newline from parameter
* reverting comments
Co-authored-by: aliabd <ali.si3luwa@gmail.com>
Co-authored-by: Victor Muštar <victor.mustar@gmail.com>
Co-authored-by: Ali Abid <aabid94@gmail.com>
2022-05-13 19:48:46 -07:00
Ömer Faruk Özdemir
2de9ee8bfb
update-shortcut-syntax ( #1234 )
...
* update-shortcut-syntax
- fix&update gr.component
- create a demo introducing shortcuts within Blocks
* update-shortcut-syntax
- tweaks
* update-shortcut-syntax
- tweaks
* update-shortcut-syntax
- fix formatting
* update-shortcut-syntax
- tweaks
- fix tests
* update-shortcut-syntax
- tweaks
- fix tests
* update-shortcut-syntax
- tweaks
- fix tests
2022-05-13 09:30:11 +03:00
aliabid94
33ef309451
Allow Custom CSS ( #1170 )
...
* changes
* css changes
* updated PyPi version to 2.9b24
* Revert "updated PyPi version to 2.9b24"
This reverts commit 48f678f491
.
* Revert "css changes"
This reverts commit d31cd525a4
.
* Revert "changes"
This reverts commit fadcb12ffe
.
* reverting
* reverting
* changes
* changs
* Revert "changs"
This reverts commit 49d815f6fe
.
* Revert "changes"
This reverts commit 481d7c21c4
.
* changes
* format
* changes
* format
* test fix
* test fix
* test fix
* fix tests
Co-authored-by: Ali Abid <aliabid94@gmail.com>
2022-05-11 21:40:41 -07:00
aliabid94
c50a2b021a
Sharing fix for assets ( #1208 )
...
* changes
* format
* typo
* updated PyPi version to 2.9b33
* Update PKG-INFO
* removed
* formatting
* fixes
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2022-05-11 16:27:58 -07:00
Ömer Faruk Özdemir
9cd4c3121f
textbox-autoheight ( #1009 )
...
* textbox-autoheight
- add max-lines to textbox
* textbox-autoheight
- reformat
* textbox-autoheight
- add demo
* textbox-autoheight
- tweaks on scripts
* textbox-autoheight
- fix tests
* textbox-autoheight
- fix tests
* textbox-autoheight
- fix tests
* textbox-autoheight
- convert default max_height from 100 to 20
* textbox-autoheight
- convert default max_height from 100 to 20
2022-04-20 14:25:47 +03:00
Ali Abid
c15885f0cc
merge master
2022-04-19 00:22:43 -07:00
Ali Abid
4f1947d8c7
merge in master
2022-04-18 18:36:43 -07:00
aliabid94
5c44ae3536
Restore Interpretation, Live, Auth, Queueing ( #915 )
...
Restore Interpretation, Live, Auth, Queueing
Co-authored-by: Ali Abid <aliabid94@gmail.com>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2022-04-04 15:47:51 -07:00
Abubakar Abid
31f9bc112d
updated PyPi version to 2.8.14
2022-03-25 08:45:34 -07:00
Abubakar Abid
166ef38f45
updated PyPi version to 2.8.7
2022-03-03 15:31:10 -05:00
Abubakar Abid
ce7282a366
Merge branch 'master' into image-guides
2022-03-01 19:39:17 -05:00
Abubakar Abid
5ec886710e
fixed comments; added launch website script
2022-03-01 15:40:17 -05:00
Abubakar Abid
907839926b
Merge pull request #746 from gradio-app/pnpm-fixes
...
updated scripts to use pnpm and removed outdated readme
2022-02-28 09:23:13 -05:00
Abubakar Abid
8cb7025608
fixed formatting
2022-02-28 08:07:54 -05:00
Abubakar Abid
5d1dd5da9a
updated scripts to use pnpm and removed outdated readme
2022-02-27 12:02:36 -05:00
Ali Abid
7a273edad4
fix pypi pusher
2022-02-23 22:59:44 -08:00