Commit Graph

3651 Commits

Author SHA1 Message Date
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
Abubakar Abid
c5fce03592 moved commits over 2022-03-22 14:14:25 -07:00
Abubakar Abid
1ff6270c2d
Merge pull request #844 from gradio-app/Blocks-Backend-Events
Blocks-Backend-Events
2022-03-22 10:35:44 -07:00
Abubakar Abid
95aaf2d9fe
Merge branch 'Blocks-Dev' into Blocks-Backend-Events 2022-03-22 10:35:19 -07:00
Abubakar Abid
e8e8439cb1
Merge pull request #843 from gradio-app/Blocks-Components-v2
Blocks components V2
2022-03-22 10:31:34 -07:00
Ömer Faruk Özdemir
72244c3547 Blocks-Backend-Components-v2
- add change event to Tabs
2022-03-22 20:21:54 +03:00
Ömer Faruk Özdemir
c46285846c Blocks-Backend-Components-v2
- tweaks
2022-03-22 20:19:41 +03:00
Abubakar Abid
51c9aa619b revert demos 2022-03-22 09:30:29 -07:00
Ömer Faruk Özdemir
ba6ec35406 Blocks-Backend-Components-v2
- docstring updates
2022-03-22 17:31:32 +03:00
Ömer Faruk Özdemir
5d0d875055 Blocks-Backend-Components-v2
- fix default parameter usage in demos
2022-03-22 17:14:59 +03:00
Ömer Faruk Özdemir
b2a9816eff Blocks-Backend-Components-v2
- fix default parameter usage in demos
2022-03-22 17:08:24 +03:00
Ömer Faruk Özdemir
24011e466f Blocks-Backend-Components-v2
- fix default parameter usage in demos
2022-03-22 17:03:51 +03:00
Ömer Faruk Özdemir
d9cd56ec3b Blocks-Backend-Components-v2
- Resolve Components imports in inputs and outputs
2022-03-22 16:40:06 +03:00
Ömer Faruk Özdemir
21b6dcc39c Blocks Backend Components
- Remove KeyValues from components
2022-03-22 16:33:00 +03:00
Ömer Faruk Özdemir
860ea5c7d3 Blocks-Backend-Events
- add change event to TabItem
2022-03-22 11:45:23 +03:00
Ömer Faruk Özdemir
15c9175e90 Blocks-Backend-Events
- refactor fn: str -> Callable
2022-03-22 11:35:53 +03:00
Abubakar Abid
ef533b2332 kinematics block 2022-03-21 15:53:08 -07:00
Abubakar Abid
63ccf88b41 added super basic static textbox demo 2022-03-21 15:11:03 -07:00