Commit Graph

168 Commits

Author SHA1 Message Date
Dawood Khan
eebe7b57b0
Issue #785: add footer (#972)
* add footer

* fix logo align

* frontend

Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2022-04-13 14:08:12 -07:00
pngwn
9cb40dc99a
ensure dataframe updates as expected (#981)
* ensure input  updates as expected

* ci debug

* ci debug

* ci debug

* fix broken path

* cleanup

* cleanup

* cleanup

* remove pkg-up

* fix dataframe

* ensure headers can be edited

* allow the table to render empty content without exploding

* fixed components and test components

* fixed test inputs and test outputs

* formatting

* Update test_components.py

Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2022-04-13 21:53:35 +01:00
aliabid94
1d3cb510bb
State and variables (#977)
Restore state and add variables component

Co-authored-by: Ali Abid <aliabid94@gmail.com>
2022-04-12 18:41:13 -07:00
Ömer Faruk Özdemir
a1509850dc
Merge in Examples and cache_examples fixes
* soft reset and remove a commit,
then commit the further commits  again

* fix flagging for tests

* format fix

* fixes

Co-authored-by: Ali <aliabid94@gmail.com>
2022-04-11 13:18:42 -07:00
pngwn
f57fa0eb6f
fix i18n and some tweaks (#966)
* fix i18n and some tweaks

* reorder i18n + translate buttons

* disable test

* fix or text

* ensure sketch text only shows when it is a sketch
2022-04-08 19:46:00 +01:00
pngwn
4b10085c93
add frontend for page load events (#967)
* Blocks load event implemented

* tweks

* add frontend for page load events

Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
Co-authored-by: Ömer Faruk Özdemir <farukozderim@gmail.com>
2022-04-08 19:24:25 +01:00
pngwn
48fc3f90bd
fix file upload text (#931)
* fix file upload text

* clean up file + add download

* add cursor pointer for upload inputs
2022-04-07 20:38:41 +01:00
pngwn
61c2e0e680
static mode for textbox (#929)
* static mode for textbox

* fix checkbox and remove title

* address comments

* autoresize textarea for output textbox

* wait for the DOM to update before resizing the textarea
2022-04-07 20:36:49 +01:00
pngwn
03838573c9
allow audio components to take a string value (#930)
* allow audio components to take a string value

* normalise audio + video input data types

* tweaks
2022-04-07 18:18:41 +01:00
pngwn
af5b555458
reimplement webcam video (#928)
* reimplement webcam video

* remove logs

* fix image webcam input
2022-04-06 18:01:18 +01:00
pngwn
6e4e877b19
remove debounce from form inputs (#932) 2022-04-06 17:49:59 +01:00
pngwn
5313a4edf1
fix unit + browser tests (#926) 2022-04-06 11:47:19 +01:00
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