Commit Graph

8 Commits

Author SHA1 Message Date
pngwn
fddf376784
JS client take 2 (#3388)
* start

* change api

* integrate into gradio

* log

* try this

* format

* changes

* format

* fix css

* fix file
2023-03-07 16:36:25 +00: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
cecaf1a635
Sketching + Inpainting Capabilities to Gradio (#2144)
* templates

* working on backend

* formatting

* Sketching fe (#2184)

* fix scaling on sketch + bg img

* tweaks

* ketch updates

* cursor style

* sketchpad

* fixes

* ensure background is white for bw sketch

* fix everything

* re-enable demos

* updated demo and changed from dict to str

* beta release

* fix bugs, tweak webcam source

* re-anable demos

* fix clear button and tab changing

* maybe fix test

* maybe fix test again maybe

* various fixes

* fix img uplaod + color sketch

* remove lazy brush but keep smoothing

* fix sketch bg

Co-authored-by: pngwn <hello@pngwn.io>
2022-09-23 13:14:56 +02:00
aliabid94
99833d506e
Refactoring Layout: Adding column widths, forms, and more. (#2097)
* changes

* changes

* fix

* change

* change

* changes

* changes

* changes

* changes

* change

* remove test config outputs

* fix wflow

* attempt root user

* attempt root user

* attempt root user

* attempt root user

* changes

* changes

* changes

* changes

* changes

* change

* changes

* change

* Update gradio/layouts.py

Co-authored-by: Abubakar Abid <abubakar@huggingface.co>

* changes

Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2022-08-29 19:51:01 -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
Abubakar Abid
4a1321ce8a
Updated our analytics on creation of Blocks/Interface (#2082)
* added version to analytics

* formatting

* fix flake

* disabled analytics on anything that runs via ci/cd

* formatting
2022-08-25 13:23:28 -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