Commit Graph

3568 Commits

Author SHA1 Message Date
Ali Abid
48c42da3d4 test fix 2022-03-24 22:58:07 -07:00
Ali Abid
946d473a44 Merge branch 'interface_to_blocks_features' of https://github.com/gradio-app/gradio into interface_to_blocks_features 2022-03-24 22:48:07 -07:00
Ali Abid
1b567e7144 changes 2022-03-24 22:41:01 -07:00
aliabid94
07c97c10c4
Merge branch 'blocks-dev' into interface_to_blocks_features 2022-03-24 21:31:46 -07:00
Ali Abid
49bd10b69b changes 2022-03-24 21:15:05 -07:00
Ali Abid
9ca5cf04c3 Merge branch 'interface_to_blocks_features' of https://github.com/gradio-app/gradio into interface_to_blocks_features 2022-03-24 21:01:45 -07:00
Ali Abid
4e0e78923c more changes 2022-03-24 21:00:30 -07:00
Abubakar Abid
f92685b523
Merge pull request #861 from gradio-app/more-demos
Getting old Python unit tests to pass on `blocks-dev`
2022-03-24 13:57:10 -07:00
Abubakar Abid
946dffc87f fixed static checks 2022-03-24 13:52:46 -07:00
Abubakar Abid
81e4a08a64 removed process examples 2022-03-24 13:45:04 -07:00
Abubakar Abid
721e2db8ee removed external tests 2022-03-24 13:39:39 -07:00
Abubakar Abid
1d316d38a1 commented external, removed context 2022-03-24 13:32:04 -07:00
aliabid94
3eb520b276
Merge branch 'blocks-dev' into interface_to_blocks_features 2022-03-23 16:38:50 -07:00
Ali Abid
0ef247aa7a changes 2022-03-23 16:36:07 -07:00
Abubakar Abid
63d18ac02b formatting 2022-03-23 15:50:10 -07:00
Abubakar Abid
fa27aa5876 fixed outputs tests 2022-03-23 15:49:37 -07:00
Abubakar Abid
fea2c32716 process examples 2022-03-23 14:56:57 -07:00
Abubakar Abid
95e861e061 test_routes passing 2022-03-23 14:53:21 -07:00
Abubakar Abid
6b259bde95 removed outdated outputs tests 2022-03-23 14:32:07 -07:00
Abubakar Abid
41197a6a59 removed examples test 2022-03-23 14:16:53 -07:00
Abubakar Abid
6a82b72d56 test_inputs pass' 2022-03-23 14:15:08 -07:00
Abubakar Abid
6c01bad233 commented out flagging tests as we don't support that yet 2022-03-23 14:06:00 -07:00
Abubakar Abid
88662ce988 build frontend 2022-03-23 13:58:52 -07:00
Abubakar Abid
96259bc6c0 Merge branch 'blocks-dev' into more-demos 2022-03-23 13:38:43 -07:00
Abubakar Abid
bc6f6f8283 merged 2022-03-23 13:38:27 -07:00
Abubakar Abid
569491f896
Merge pull request #859 from gradio-app/854-textbox
854 textbox
2022-03-23 13:34:46 -07:00
pngwn
2c7e33ccfb update deps 2022-03-23 16:57:57 +00:00
pngwn
8ed9f3be62 add tests for textbox 2022-03-23 16:56:36 +00:00
pngwn
4f772dc8d9 ensure textbox updates the value 2022-03-23 16:56:01 +00:00
pngwn
b7d2125323 improve test setup and utils 2022-03-23 16:55:47 +00:00
pngwn
8d947138fa add test infra 2022-03-23 16:55:00 +00:00
Abubakar Abid
0edf628b25 test_external passing 2022-03-23 09:25:53 -07:00
Abubakar Abid
5b3bb9e11a removed test demos, test encryptor passes 2022-03-23 09:22:44 -07:00
Abubakar Abid
60f6f86da7 context tests pass 2022-03-23 09:21:30 -07:00
Abubakar Abid
bc8d97490a rebuilt frontend 2022-03-23 08:50:48 -07:00
pngwn
26d2c190fc
add test infra + add browser tests to CI (#852)
* add test infra

* improve test setup and utils

* finish a test

* add browser tests to ci

* fix ci

* fix ci

* fix ci

* fix ci

* debug ci

* debug ci

* debug ci

* debug ci

* debug ci

* debug ci

* debug ci

* fix ci

* update lockfile

* fix formatting

* install browser when not cached

* bust cache

* debug test in ci

* fix button label

* generate screenshots for failed tests

* generate screenshots for failed tests

* generate screenshots for failed tests

* fix tests

* clean uip debug logs

* add setuip + teardown to functional tests

* remove build from static checks
2022-03-23 15:19:12 +00:00
Abubakar Abid
398f5560d1
Merge pull request #848 from gradio-app/update-demos
Started updating demos to use the new `gradio.components` syntax
2022-03-22 18:53:31 -07:00
Abubakar Abid
40efaac65c fixed kinematics demo; readded button click trigger 2022-03-22 16:54:35 -07:00
Abubakar Abid
7f2f62c239 revert diff text changes 2022-03-22 16:41:43 -07:00
Abubakar Abid
5d6a9d4981 calculator live correction 2022-03-22 16:40:54 -07:00
Abubakar Abid
503eb7bb53 revert calculator_live changes 2022-03-22 16:40:32 -07:00
Abubakar Abid
763585cf24 formatting 2022-03-22 16:26:42 -07:00
Abubakar Abid
6003122e0e Merge branch 'update-demos' of github.com:gradio-app/gradio into update-demos 2022-03-22 15:49:07 -07:00
Abubakar Abid
52b2901ae4
Merge branch 'Blocks-dev' into update-demos 2022-03-22 15:48:49 -07:00
Abubakar Abid
35c26c03f3 made the non-keyword parameter choices instead of default values for CheckboxGroup, Radio, Dropdown 2022-03-22 15:48:19 -07:00
aliabid94
a8ab1c81a1
Blocks dev (#853)
* Blocks-Components-v2
- default -> default_value refactoring

* Blocks-Components-v2
- refactor output types into output_type and make them auto

* Blocks-Backend-Events
- all events are implemented

* Blocks-Backend-Events
- refactor fn: str -> Callable

* Blocks-Backend-Events
- add change event to TabItem

* Blocks Backend Components
- Remove KeyValues from components

* Blocks-Backend-Components-v2
- Resolve Components imports in inputs and outputs

* Blocks-Backend-Components-v2
- fix default parameter usage in demos

* Blocks-Backend-Components-v2
- fix default parameter usage in demos

* Blocks-Backend-Components-v2
- fix default parameter usage in demos

* Blocks-Backend-Components-v2
- docstring updates

* revert demos

* Blocks-Backend-Components-v2
- tweaks

* Blocks-Backend-Components-v2
- add change event to Tabs

* Interfaces from Blocks (#849)

Build interfaces from blocks

Co-authored-by: Ali Abid <aliabid94@gmail.com>

Co-authored-by: Ömer Faruk Özdemir <farukozderim@gmail.com>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
Co-authored-by: Ali Abid <aliabid94@gmail.com>
2022-03-22 15:40:36 -07:00
Abubakar Abid
35f661b65b live calculator 2022-03-22 15:40:09 -07:00
Abubakar Abid
3a5b8a7297 readd imports in init 2022-03-22 15:35:30 -07:00
Abubakar Abid
330ba63d61
Merge branch 'Blocks-Dev' into update-demos 2022-03-22 15:33:40 -07:00
aliabid94
4796e5568f
Interfaces from Blocks (#849)
Build interfaces from blocks

Co-authored-by: Ali Abid <aliabid94@gmail.com>
2022-03-22 15:28:11 -07:00