Commit Graph

3682 Commits

Author SHA1 Message Date
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
Abubakar Abid
01cc894987 updated to use merged components 2022-03-21 14:33:56 -07:00
Ali Abid
566c954c30 stop interface from erroring out 2022-03-21 14:12:00 -07:00
Abubakar Abid
e9386f5838 updated imports to components.py 2022-03-21 13:29:23 -07:00
Abubakar Abid
f2f4d0d022 cleaned up imports 2022-03-21 13:01:04 -07:00
Ömer Faruk Özdemir
8c21e12544 Blocks-Backend-Events
- all events are implemented
2022-03-21 17:33:31 +03:00
Ömer Faruk Özdemir
b778aa566a Blocks-Components-v2
- refactor output types into output_type and make them auto
2022-03-21 15:36:27 +03:00
Ömer Faruk Özdemir
0d2c4b183c Blocks-Components-v2
- default -> default_value refactoring
2022-03-21 15:06:56 +03:00
Ömer Faruk Özdemir
e80d20390c
Merge pull request #765 from gradio-app/Blocks-Components
Blocks components
2022-03-21 13:29:57 +03:00
Abubakar Abid
d25419b16f fixed interpretation 2022-03-19 08:20:22 -07:00
Abubakar Abid
f2a5ecdca6 fixed test inputs.py 2022-03-19 08:14:54 -07:00
Abubakar Abid
219adfa69b used numbers.Numbers 2022-03-19 08:07:40 -07:00
Abubakar Abid
db6f8452f1 fixed test data 2022-03-19 07:52:25 -07:00
Abubakar Abid
12e733360e only Number and Label outputs are interpretable 2022-03-19 07:34:04 -07:00
Abubakar Abid
e95a4b3017 deleted components 2022-03-18 17:20:56 -07:00
Abubakar Abid
77eae4534d fixing test inputs 2022-03-18 17:18:06 -07:00
Abubakar Abid
6bcbde43d7 fixing test_inputs.py 2022-03-18 17:08:24 -07:00
Abubakar Abid
408f743ba8 fixed external tests 2022-03-18 16:44:57 -07:00
Abubakar Abid
7044defcc9 changed external.py to use components 2022-03-18 15:49:38 -07:00
Abubakar Abid
ad952b7981 cleanups 2022-03-18 12:07:17 -07:00