Commit Graph

154 Commits

Author SHA1 Message Date
pngwn
f2d71abe88
Redesign 1 (#918)
* redesign forms

* finalise forms

* upload components

* fix CSS conflicts

* abstract block + update image

* restyle modify buttons

* add file, audio, video

* revert example

* address comments
2022-04-05 18:11:29 +01:00
aliabid94
5c44ae3536
Restore Interpretation, Live, Auth, Queueing (#915)
Restore Interpretation, Live, Auth, Queueing

Co-authored-by: Ali Abid <aliabid94@gmail.com>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2022-04-04 15:47:51 -07:00
pngwn
b91231711a
fix endpoint url in prod (#911)
* fix endpoint url in prod

* fix browser tests
2022-03-31 16:48:54 +01:00
pngwn
95deeb8f9b cleanup default_value 2022-03-29 14:10:35 +01:00
pngwn
aeec89c8a9 guard render to check for children 2022-03-29 13:57:04 +01:00
Ali Abid
0b2f0e27a3 fix markdown default_value 2022-03-26 06:53:41 +01:00
aliabid94
4a787734d8
fix buttons (#883)
Co-authored-by: Ali Abid <aliabid94@gmail.com>
2022-03-26 03:48:03 +01:00
Abubakar Abid
e6eb78c765
Merge branch 'blocks-dev' into default-values 2022-03-25 16:59:08 -07:00
Ali Abid
8bc644eb75 rename default to default_value 2022-03-26 00:22:57 +01:00
Abubakar Abid
4bde73e5d3
Merge pull request #864 from gradio-app/interface_to_blocks_features
More Interface -> Blocks features
2022-03-25 12:06:28 -07:00
Ali Abid
d4759cfb3c fix format 2022-03-24 23:03:47 -07:00
Abubakar Abid
50fd650748 Merge branch 'blocks-dev' into 790-in-out 2022-03-24 21:44:10 -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
pngwn
3b452fffdd set default values as the value for components 2022-03-24 13:08:13 +00: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
pngwn
2df7c6062d add test for output to input 2022-03-24 10:59:09 +00: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
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
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
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
Ali Abid
566c954c30 stop interface from erroring out 2022-03-21 14:12:00 -07:00
pngwn
343205c94a fix static/ dynamic components 2022-03-16 16:36:36 +00:00
pngwn
6e16a8d792 update component events 2022-03-16 16:34:30 +00:00
Ali Abid
fd0928dc0a update backend to new output config format 2022-03-11 16:40:23 -08:00
pngwn
bc38734e76 tweaks 2022-03-11 16:15:48 +00:00
pngwn
163806c4f6 Merge branch 'Blocks-Components' into gradio-dash-fe 2022-03-11 16:07:28 +00:00
pngwn
50cb72b4ea more stuff 2022-03-11 16:00:48 +00:00
pngwn
ec80912433 convert all components to new form 2022-03-08 13:35:42 +00:00
pngwn
ddbd121a03 more 2022-03-07 13:36:49 +00:00
pngwn
0044c243db pull all components into packages 2022-03-02 16:42:43 +00:00
aliabid94
11dda55352
Gradio Blocks (#590)
Integrate initial work on Gradio Blocks by creating Blocks class and frontend Block code.
2022-02-28 22:35:21 -06:00
Abubakar Abid
907839926b
Merge pull request #746 from gradio-app/pnpm-fixes
updated scripts to use pnpm and removed outdated readme
2022-02-28 09:23:13 -05:00
Abubakar Abid
feb553bec7 fixed tamil formatting 2022-02-28 08:06:09 -05:00
amrrs
aa699d62b8
Tamil Language Support 2022-02-28 12:03:24 +05:30
Abubakar Abid
5d1dd5da9a updated scripts to use pnpm and removed outdated readme 2022-02-27 12:02:36 -05:00
Ali Abid
a6792c5766 interpretation fix 2022-02-23 22:38:20 -08:00
dawoodkhan82
d53737114b remove global 2022-02-23 13:34:18 -05:00
dawoodkhan82
32247c272f unflip webcam component 2022-02-23 12:54:59 -05:00
Abubakar Abid
0410b1a79f
Merge pull request #724 from gradio-app/454-hl-text
ensure colormap colours are rgba format
2022-02-23 12:07:59 -05:00
pngwn
94ae573847 tweak 2022-02-23 16:59:43 +00:00
Abubakar Abid
2e73efd2c9
Merge pull request #725 from gradio-app/618-embed
ensure footer links open in new tab when embedded
2022-02-23 11:25:21 -05:00
Abubakar Abid
fba8a79670
Merge pull request #714 from gradio-app/fixing_migration_issues
fix file upload issues
2022-02-23 10:26:41 -05:00
pngwn
3d6430272a ensure goot links open in new tab when embedded 2022-02-23 15:26:18 +00:00
pngwn
f181bb255f fix formatting 2022-02-23 15:21:21 +00:00