Commit Graph

232 Commits

Author SHA1 Message Date
pngwn
0cecff4672
Form layout (#1054)
* implement form grouping

* demo to showcase form groups

* cleanup

* apply tw classes for custom classes

Co-authored-by: Victor Muštar <victor.mustar@gmail.com>

* fix formatting

* ignore index.html

* fix gitignore

* fix gitignore

* fix gitignore

Co-authored-by: Victor Muštar <victor.mustar@gmail.com>
2022-04-22 10:19:59 +01:00
Victor Muštar
87ea33dc42
UI design update (#1041)
* ui update

tabs
button
container
spacing
responsive row
mobile
chatbot
style
JSON node

* ui misc

* gradio orange shades

* workbench layout

* button shade

* rm unused

* audio animation

* tabs spacings

* table

* form update

* misc

* misc

* sketch placeholder

* table update

* table rings

* JSON copy button

- Logic not implemented

* textbox default placeholder

* table

remove old table

* label style

* button global css

* Update Button.svelte

* cs

* table btn

* carousel height

* audio style

* audio static

* static image size

* formatting

* skip test that aren't testing anything

Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
Co-authored-by: pngwn <hello@pngwn.io>
2022-04-21 10:27:12 +01:00
Ron Au
c1956bfc68
fix(ui): Increase contrast for footer (#1048) 2022-04-21 10:16:11 +01:00
Ron Au
abad6383df
Update text (#1050)
* docs(CONTRIBUTING): Update with new details

* docs(ui): Update with correct details

* fix(Error): Fix minor typo

* docs: Link to `ui` readme from contributing guide

* Update CONTRIBUTING.md

Co-authored-by: pngwn <hello@pngwn.io>
2022-04-21 10:07:43 +01:00
aliabid94
9a62b25bbb
fix (#1046)
Co-authored-by: Ali Abid <aliabid94@gmail.com>
2022-04-20 21:43:14 -07:00
Dawood Khan
76eab3f9ce
Plot fixes (#1044)
* matplotlib and warning fix

* fix matplotlib demo
2022-04-20 15:14:46 -04:00
Abubakar Abid
5c34d91865
added better default labels to form components (#1040)
* added better default labels to form components

* updated default labels

* formatting

* fixed tests
2022-04-20 10:54:44 -07:00
Dawood Khan
c480fb0e0c
Model3D Examples fixes (#1035)
* fix examples

* fixes

* fix moddl3d examples

* format fixes

* fixed tests

* fix tests

* fix clearColor null

Co-authored-by: Dawood Khan <dawoodkhan@DawoodsWorkMBP.localdomain>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2022-04-20 11:43:21 -04:00
Ali Abid
0312c4043c format 2022-04-19 00:25:17 -07:00
Ali Abid
c15885f0cc merge master 2022-04-19 00:22:43 -07:00
Ali Abid
4f1947d8c7 merge in master 2022-04-18 18:36:43 -07:00
Dawood Khan
499f106c9e
Model3D + Plot Components (#1010)
* add model3D

* model3d component

* add plot component

* format

* ingnore plot.svelte from prettier

* update build script

* update circleci config

* remove circleci config change

* change build script

* remove change to build script

* remove plot.svelte

* remove duplicate save_flagged func

* fix node space issue + format issues

* Update ui.yml

* Update ui.yml

* Update ui.yml

* remove changes to config files

* updated codecov version

* Update ui.yml

Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2022-04-18 15:26:30 -04:00
aliabid94
1c2f430a7e
Progress indicator bar (#997)
Create Status Tracker component to report progress on function calls

Co-authored-by: Ali Abid <aliabid94@gmail.com>
2022-04-15 02:20:19 -07:00
Dawood Khan
873060a354
Image3D Examples Fix (#1001)
* fix 3d model examples

* format fix

* cache_examples in image demo

* fix cached examples

* fixed cached example bug

* fixed formatting

* fixed tests

Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2022-04-14 23:23:02 -07:00
Dawood Khan
7552e1ef6c
Plot Component (#805)
* plotly + matplotlib component

* update plot demos and plotly component

* fix gray bg

* format

* pnpm lock file

* add bokeh

* update plot demo

* add bokeh support

* ignore plot file

* fixed demo

* fixed sorting

* update image-plot deprecation warning

Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2022-04-14 14:45:31 -07:00
Abubakar Abid
e0a64e5b55
added interactive parameter to components (#992)
* added interactive parameter to components

* respect interactive prop

* fixed input tests

* fixed output tests

* fixed test_components.py

* fixed test blocks

* fixed test utils

* fixed formatting

* update test configs

* fix textbox static output

* static audio output

* static video output

* cleanup

* static inmage output

* Static Timeseries

* cleanup outptus fopr markdown _ html

* ensure dataframe can load in static mode

* tweaks

Co-authored-by: pngwn <hello@pngwn.io>
2022-04-14 15:12:30 +01:00
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
dawoodkhan82
f44fd7e53c change to image3d in directory.ts 2022-03-31 14:28:25 -04:00
dawoodkhan82
b993659134 rename in config 2022-03-31 14:03:14 -04:00
dawoodkhan82
d13d172d22 rename Model3d to Image3D 2022-03-31 13:58:36 -04: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
dawoodkhan82
3f5a7be079 Merge branch 'main' into dawood/3d-image 2022-03-30 15:43:13 -04:00
dawoodkhan82
b4c8b069ac rename model3d dir 2022-03-30 15:42:16 -04:00
dawoodkhan82
d36075bb37 reformat code 2022-03-30 13:24:18 -04: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
Abubakar Abid
fd53b54c75 fix formatting 2022-03-29 00:06:35 -07:00
Ali Abid
a4ddcefb23 fix streaming 2022-03-29 02:15:32 +02:00
Ali Abid
645abd2f44 merge chagnes 2022-03-29 01:50:30 +02:00
dawoodkhan82
9c32c91bd8 Merge branch 'main' into dawood/3d-image 2022-03-28 14:38:41 -04:00
dawoodkhan82
c03f7b2f3a add tests 2022-03-28 14:37:50 -04: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