Commit Graph

135 Commits

Author SHA1 Message Date
pngwn
3b452fffdd set default values as the value for components 2022-03-24 13:08:13 +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
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
pngwn
de0139d868 ensure colormap colours are rgba format 2022-02-23 15:18:25 +00:00
Abubakar Abid
012561aa57
Merge pull request #715 from gradio-app/restore_flag_options
Restore flagging options
2022-02-23 07:59:36 -05:00
Abubakar Abid
4a674fab5f
Merge pull request #716 from gradio-app/667-number
handle input number values correctly
2022-02-23 07:47:16 -05:00
pngwn
ff682b4e5c handle input numbers values correctly 2022-02-23 11:26:36 +00:00
pngwn
7924ac5829 populate workbench 2022-02-23 11:17:41 +00:00
Ali Abid
b5126adf8d restore flagging options 2022-02-22 22:31:01 -08:00
Ali Abid
2879558c12 fix file upload issues 2022-02-22 21:53:28 -08:00
pngwn
4d9b600627 set up component workbench 2022-02-22 12:20:28 +00:00
Ömer Faruk Özdemir
5996aa2636 Turkish-Translate-Improvement
- reformat the frontend
2022-02-22 15:09:42 +03:00
Ömer Faruk Özdemir
4a47805462 Turkish-Translate-Improvement
- reformat the translation
2022-02-22 15:07:24 +03:00
osushiski
b98d6b1b9d
Create ja.json
Japanese language file
2022-02-22 04:32:28 +09:00
Abubakar Abid
91bc412c80
Merge pull request #684 from Sk7w4tch3r/patch-1
Create fa.json
2022-02-21 07:06:55 -05:00
Abubakar Abid
c220b8867a
Merge pull request #688 from abaranovskis-redsamurai/patch-2
Lithuanian language support
2022-02-21 07:06:41 -05:00
Abubakar Abid
0ba4e2cc7a
Merge pull request #683 from asimokby/master
Create tr.json
2022-02-21 07:05:49 -05:00
Abubakar Abid
60d49f3a99
Merge pull request #687 from abaranovskis-redsamurai/patch-1
Russian language support
2022-02-21 07:05:17 -05:00
Andrej Baranovskij
a55e642b0d
Lithuanian language support 2022-02-20 21:50:18 +02:00
Andrej Baranovskij
67ad3e6359
Russian language support 2022-02-20 21:42:17 +02:00
Patryk Niemiec
b058d721d4 Add Polish translation 2022-02-20 17:42:05 +01:00
Hesam Damghanian
bd7a94013b
Create fa.json 2022-02-20 19:56:32 +03:30