Commit Graph

3563 Commits

Author SHA1 Message Date
Abubakar Abid
2260c3fc3e
Merge pull request #867 from gradio-app/862-chatbot
initialise chatbot with empty array of messages
2022-03-24 21:37:37 -07:00
Abubakar Abid
508c28bde0 Merge branch 'blocks-dev' into 862-chatbot 2022-03-24 21:27:44 -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
pngwn
017e62c95c remove log 2022-03-24 11:12:47 +00:00
pngwn
85dbeffd5c initialise chatbot with empty array of messages 2022-03-24 11:11:49 +00: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
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