Commit Graph

22 Commits

Author SHA1 Message Date
Abubakar Abid
2adb841316
Jupyter extension for easier development with Blocks (#1321)
* jupyter magic

* formatting

* test fix

* formatting

* simplifications

* formatting
2022-05-18 15:14:53 -07: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
Ömer Faruk Özdemir
a88c017f87
async-function-support (#1190)
* async-function-support

- add async function support to Blocks

* async-function-support

- resolve conflicts

* async-function-support

- add error to Interface for async functions

* async-function-support

- add test

* async-function-support

- add test packages

* async-function-support

- add test packages
2022-05-11 23:10:50 +03:00
aliabid94
ce47c48ebc
Update component config (#1089)
* first commit

* changes

* restore defualt_value name

* changes

* rm value=

* rm value=

* rm value=

* changes

* changes

* changes

* rename default_val to value

* changes

* changes

* changes

* changes

* format

* changes

* changes

* format

* test fix

Co-authored-by: Ali Abid <aliabid94@gmail.com>
2022-05-10 17:11:43 -07:00
Abubakar Abid
90f3aec388
Backend for optional labels (#1080)
* optional labels

* added prop

* Added IOComponent class

* get component fix

* fixed component function

* fixed test components

* formatting

* fixed output tests

* working on blocks tests

* fixed test blocks

* cleanup
2022-04-27 02:22:16 -07:00
Ali Abid
7bf3283954 fix css 2022-04-19 01:05:47 -07:00
Ömer Faruk Özdemir
8eae59f494
Blocks page load (#963)
* Blocks load event implemented

* tweks

Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2022-04-08 20:54:59 +03:00
Ömer Faruk Özdemir
3c876c49ef add fake_gan demos with smaller pictures 2022-04-08 11:21:40 +03:00
Ömer Faruk Özdemir
023706136e add fake_gan demos with smaller pictures 2022-04-08 11:14:00 +03:00
Ömer Faruk Özdemir
6274b9099e
blocks-move-test-data (#927)
* blocks-move-test-data
- move test_data under gradio

* blocks-move-test-data
- typo

* blocks-move-test-data
- fix tests
2022-04-06 13:55:51 +01:00
Abubakar Abid
2fdf26d7ac merged blocks-dev 2022-04-05 12:21:48 -07:00
Abubakar Abid
541041e299 merged blocks-dev 2022-04-04 17:48:15 -07:00
Ömer Faruk Özdemir
cf6f490189 blocks-components-tests
- reformat
2022-03-30 15:34:08 +03:00
Ömer Faruk Özdemir
070b8a96b5 blocks-components-tests
- move gradio/test_data to test/test_data/media_data
2022-03-30 13:08:34 +03:00
Abubakar Abid
8daada1b40 slightly better 2022-03-29 10:59:15 -07:00
Abubakar Abid
b851831aef hacky way to get imports to work 2022-03-29 10:49:20 -07:00
Abubakar Abid
e09df09d9e fixed formatting 2022-03-29 10:38:49 -07:00
Abubakar Abid
9d7de51958 fixed config 2022-03-29 09:15:37 -07:00
Abubakar Abid
2ec8482ca6 fixed config 2022-03-29 09:14:59 -07:00
Abubakar Abid
2825ee606d resolving relative imports 2022-03-29 09:12:01 -07:00
Ömer Faruk Özdemir
acda99703e blocks-tests
- reformat
2022-03-29 18:46:42 +03:00
Ömer Faruk Özdemir
dcc9ba87c9 blocks-tests
- implement a simple test to check blocks config generation
2022-03-29 18:45:24 +03:00