Hannah
33b5954a3b
Add gradio storybook ( #4696 )
...
* initialise storybook
* fix storybook config
* more config
* add test story
* add button story
* add a11y addon
* add chromatic job
* fix script path
* fix path again
* yml tweak
* typo
* tweak
* tweak job
* change when job runs
* revert change
* revert lockfile
* config tweaks
* regen lockfile
* tweak
* tweak
* move chromatic tests to ui workflow
* tweak
* add install deps cmd
* add install pnpm input
* job tweak
* test
* clean up
* regen lockfile
* remove redundant option
* workflow tweak
* tweak
* tweak
* cli tweak
* cli tweak
* restore inspector prop
* skip frontend gradio build and post sb url to PR
* remove pollen import
* cancel job if no-visual-update tag present
* move stoeybook files to /js and amend pnpm scripts
* tweak theme css script
* tweak action body / test tag
* fix plot test and tweak pr comment job
* fix yml
* add gh token
* test
* update pnpm lock
* yml test
* restore yml update comment
2023-07-03 16:21:00 +02:00
Freddy Boulton
c7081e5747
Fix AnnotatedImage styling + add demo ( #4628 )
...
* Fix css + add demo
* CHANGELOG
* Add image_segmentation
* Add notebook
* Fix demo
* Fix demos
2023-06-23 12:49:26 -04:00
Freddy Boulton
b7010fa0eb
Only run install steps in backend ci if not previously cached ( #4517 )
...
* dont install if cache
* Fix
* Fix client cache
* Potential fix
* Change key name
* Fix
* Use python command
* Build front-end in lint job
* Install
* Fix
* Build afterward
* Consolidate lint
* trigger ci
* Fix windows
* Use virtualenv
* New try
* Typo
* Fix typp
* Add full path
* Separate Linux and windows steps
* Typos
* shell
* trigger ci
* Fix
* use command
* Use cache for setup python too
* Separate cache for front-end
* trigger ci
* Add Don't lint on windows
* Add if changes
* Delete restore keys
---------
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2023-06-16 15:34:06 -04:00
2-5
d13e889813
remove obsolete run circleci script ( #4416 )
2023-06-04 22:18:59 -04:00
Abubakar Abid
e6198752c6
Adds missing components to gradio client serializing's component mapping ( #4167 )
...
* add missing serialization
* format
* update release note format
* update release note format
* fix test
2023-05-11 11:33:14 -05:00
1lint
f97b18ec9d
Allow decoding b64 string without header in processing utils ( #4031 )
...
* allow decoding b64 string without headers
* install gradio-client in edittable mode
* update GH actions
* add test for decoding headerless b64
* add test for decoding headerless b64 image
* some linting
* fix test
---------
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2023-05-01 18:24:54 -05: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
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
Freddy Boulton
070b304e09
CI tweaks ( #3752 )
2023-04-04 14:02:20 -04:00
Aarni Koskela
ef3862e075
Switch linting to Ruff ( #3710 )
...
* Sort requirements.in
* Switch flake8 + isort to ruff
* Apply ruff import order fixes
* Fix ruff complaints in demo/
* Fix ruff complaints in test/
* Use `x is not y`, not `not x is y`
* Remove unused listdir from website generator
* Clean up duplicate dict keys
* Add changelog entry
* Clean up unused imports (except in gradio/__init__.py)
* add space
---------
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2023-04-03 15:48:18 -07:00
Freddy Boulton
f73155ed42
Add status for Python Client Jobs ( #3645 )
...
* Add status + unit test (flaky) for now
* Install client
* Fix tests
* Lint backend + tests
* Add non-queue test
* Fix name
* Use lock instead
* Add simplify implementation + fix tests
* Restore changes to scripts
* Fix README typo
* Fix CI
* Add two concurrent test
2023-03-29 18:41:12 -04:00
Abubakar Abid
dc37ddb739
fix sort script ( #3696 )
...
* fix sort script
* formatting
* script
2023-03-29 16:39:40 -04:00
pngwn
ae4277a9a8
move files ( #3605 )
...
* move files
* commit the rest of the files
* fix lockfile
* fix workflow
* fix type errors
* fix tests
* only run ci when certain files change
* run correct test command in ci
* version
* fix pypi script
---------
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2023-03-27 16:12:58 -07:00
Ali Abdalla
99fc2dd30f
fix issue with missing version ( #3632 )
...
Co-authored-by: Freddy Boulton <alfonsoboulton@gmail.com>
2023-03-27 11:04:36 -04:00
Abubakar Abid
1c8d3cb05d
Simplify tests ( #3608 )
...
* simplify tests
* imports
* imports
* formatting
* removed cometml typing
* simplify
* changelog
2023-03-24 12:39:30 -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
Abubakar Abid
3d0ab76532
Pin pyright ( #3475 )
...
* changelog
* changelog
* changelog
2023-03-15 09:53:48 -07:00
pngwn
11bb732f5d
add code component ( #3421 )
...
* add code component
* changes
* changes
* code
* add code to all_demos
* change remove prefix
* changes
* notebooks
* fix pythong types
* changelog
* cleanup
* Apply suggestions from code review
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
* add interactive kwarg
* fix focus
* changelog
* fix demo
* tests
* cleanup
* Update gradio/components.py
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
* change padding to compute from block label styles
* use neutral colours for sucess animation
* cleanup
* update document
* add changelog for fix
* fix documentation
---------
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2023-03-10 17:52:17 +00:00
Abubakar Abid
f36445522f
Adding a script to benchmark the queue ( #3272 )
...
* added benchmark queue script
* changelg
* fix instructions
2023-02-21 15:08:06 -06:00
Abubakar Abid
5203c5ddb1
accidentally added script ( #3273 )
2023-02-21 14:25:15 -06:00
Abubakar Abid
e513f06e5e
LaTeX height fix ( #3258 )
...
* latex height fix
* changelog
* formatting
* em
* em
2023-02-21 14:12:03 -06:00
Dawood Khan
9c08bb92c5
Add ability add a single message from the bot/user side ( #3165 )
...
* chatbot fices
* chagnelog
* remove starts_with
* more fixes
* added chatbot multimodal demo
* fix height
* height
* update demo
* changelog
* format
* format
* Update gradio/components.py
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
* fix
* format
---------
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2023-02-17 13:02:41 -05:00
pngwn
a23bc03aeb
ensure video resets state correctly when a new src is loaded ( #3117 )
...
* improve is playing, remove console error
* add video demo to all_demos
* fix demo
* fix bug
* changelog + notebooks
* cleanup
* fix choppy video resizing
* reduce flashing due to prediction request, video loading + rendering
* fix notebooks
* changelog
2023-02-03 17:36:31 +00:00
Abubakar Abid
c02001da7d
Final typing: interpretation.py
and helpers.py
( #2911 )
...
* 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
* components.py t yping
* components.py
* formatting
* lint script
* merge
* merge
* lint
* pathlib
* lint
* events too
* lint script
* fixing tests
* lint
* examples
* serializing
* more files
* formatting
* flagging.py
* added to lint script
* fixed tab
* interface.py
* attempt fix
* refactoring interface
* interface refactor
* formatting
* fix for live interfaces
* lint
* refactor interpret
* more typing
* undo blocks change
* undo test comp change
* created classes
* interpretation
* fix
* final fixes to interpretation
* type check
* helpers
* type hintg
* label
* initialize interpret
* fixed progress bar
* removed unnecessary assertion
2023-01-04 14:30:21 -05:00
Freddy Boulton
f0727b9192
Deploy PRs from forks to spaces ( #2895 )
...
* store secrets in other repo
* Fix typo
* Use separate job
* trigger
* trigger
* trigger
* trigger
* Set up dependency
* Rename
* Close quotes
* empty
* empty trigger
* empty trigger
* empty trigger
* empty trigger
* empty trigger
* empty trigger
* empty trigger
* empty trigger
* empty trigger
* empty trigger
* empty trigger
* Add files
* CHANGELOG + rename workflow
* Remove echo and use repository owner
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2023-01-03 14:24:01 -05:00
Abubakar Abid
38c64a5b0e
More typing! ( #2906 )
...
* 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
* components.py t yping
* components.py
* formatting
* lint script
* merge
* merge
* lint
* pathlib
* lint
* events too
* lint script
* fixing tests
* lint
* examples
* serializing
* more files
* formatting
* flagging.py
* added to lint script
* fixed tab
* interface.py
* attempt fix
* refactoring interface
* interface refactor
* formatting
* fix for live interfaces
* lint
* mix
* mix
* serialize fix
* formatting
* all demos queue
* networking
* added type check
* processing_utils
* more typing
* formatting
* type ignored processing utils
* s
* tunneling
* add interpretation
* more typing
* queuing
* serializing
* undo interpretation
* routes.py
* formatting
* component type
* addressed review
* lint
* typing
* documentation
* fixing pydantic
* routes
* fixed typing in routes
* fix tests
2023-01-03 13:13:11 -05:00
Pradyumna Rahul
6a6e9175e1
Updating typing in utils.py
and templates.py
( #2904 )
...
* typing
* typing
* typing
* updated CHANGELOG.md
* typing
* typing
* typing
* typing
* Update max_args count to be -1 if positional param type
max_args would be set to the value of "infinity" when the param was of VAR_POSITIONAL type. That makes max_args hold both int and string values.
Updated the max_args to be set to -1 value.
* Updated to use same response and not previous response for validation
* Keep self._response uninitialized
* Updated to use empty BaseModel when not validation_model not present
* Reference `BlockContext` directly
* initializing end as 0 in format_net_list
* Updating docs for error_analytics
* Update file version check in utils
* Update gradio.strings import
* typing
* typing
* typing
* typing
* typing
* typing
* typing
* typing
* typing
* typing
* Add utils.py and templates.py to type check script
* fixed changelog
* Update formatting of utils.py
* rerun ci
* flagging fix
* fix typing
* formatting
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2023-01-03 12:20:02 -05:00
Abubakar Abid
d46f0cd1ed
Refactored interface.py
( #2902 )
...
* 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
* components.py t yping
* components.py
* formatting
* lint script
* merge
* merge
* lint
* pathlib
* lint
* events too
* lint script
* fixing tests
* lint
* examples
* serializing
* more files
* formatting
* flagging.py
* added to lint script
* fixed tab
* interface.py
* attempt fix
* refactoring interface
* interface refactor
* formatting
* fix for live interfaces
* lint
* serialize fix
* formatting
* all demos queue
* added type check
* formatting
2022-12-29 15:30:44 -05:00
Abubakar Abid
5310782ed9
Added typing to even more files ( #2900 )
...
* 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
* components.py t yping
* components.py
* formatting
* lint script
* merge
* merge
* lint
* pathlib
* lint
* events too
* lint script
* fixing tests
* lint
* examples
* serializing
* more files
* formatting
* flagging.py
* added to lint script
* fixed tab
* attempt fix
* serialize fix
* formatting
* all demos queue
* addressed review comments
* formatting
2022-12-29 15:18:19 -05:00
Abubakar Abid
a3d0fcfab1
Added typing to more files ( #2896 )
...
* 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
* components.py t yping
* components.py
* formatting
* lint script
* merge
* merge
* lint
* pathlib
* lint
* events too
* lint script
* fixing tests
* lint
2022-12-29 12:33:12 -05: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
Abubakar Abid
a580a93510
Fixing pypi release deployment script ( #2786 )
...
* loud
* memory
* force delete
* version
2022-12-09 22:05:15 -08:00
Freddy Boulton
f60053d85f
gr.ScatterPlot component ( #2764 )
...
* Try clean install
* Resolve peer dependencies?
* CHANGELOG
* Add outbreak_forcast notebook
* generate again
* CHANGELOG
* Add image to changelog
* Color palette
* Fix colors + legend
* Tooltip
* Add axis titles
* Clean up code a bit + quant scales
* Add code
* Add size, shape + rename legend title
* Fix demo
* Add update + demo
* Handle darkmode better
* Try new font
* Use sans-serif
* Add caption
* Changelog + tests
* More tests
* Address comments
* Make caption fontsize smaller and enable interactivity
* Add docstrings + add height + width
* Use normal font weight
* Make last values keyword only
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
* Fix typo
* Accept value as fn
* reword changelog a bit
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2022-12-09 10:14:07 -05:00
Freddy Boulton
bed288a509
Add support for altair plots ( #2741 )
...
* Try clean install
* Resolve peer dependencies?
* frozen lockfile install
* Explicitly use version 16
* Add env
* Add altair demo
* Add unit test
* CHANGELOG
* Add image to changelog
* Add outbreak_forcast notebook
* Try again
* generate again
* Update ui/packages/plot/src/Plot.svelte
Co-authored-by: aliabid94 <aabid94@gmail.com>
* Fix title
Co-authored-by: aliabid94 <aabid94@gmail.com>
2022-12-02 14:53:42 -03:00
Ali Abdalla
b9df6f3804
add url arg to build ( #2674 )
2022-11-18 11:24:13 -08:00
Freddy Boulton
e0a55df7dc
Modify CI to check for unused imports ( #2555 )
...
* Add lint script + remove unused imports
* Add lint file to sc
2022-10-28 10:56:18 -04:00
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