Commit Graph

31 Commits

Author SHA1 Message Date
Dawood Khan
0c2e5c8184
Fixes: Model3D component loads forever when used as input and cache_examples=False (#1939)
* fix loading issue

* format
2022-08-03 17:03:01 -04:00
pngwn
a039810e51
fix pnpm filters for 7.x (#1927)
* fix pnpm filters for 7.x

* update ci to use pnpm 7

* try a thing

* reinstall types

* usin pnpm dlx instead of pnpx

* usin pnpm dlx instead of pnpx

* explicitly add playwright as dependency

* update lockfile

* update ci

* update ci

* install same version of @playwright/test and playwright

* fix browser downloads
2022-08-02 12:02:06 -07:00
pngwn
817819d7a1
Fix the types (#1843)
* fix types

* fail CI when typechecking fails

* maybe fix

* more fix

* remove all rferences to theme

* fix login
2022-07-21 19:12:46 +01:00
pngwn
cc6aeb6d72
distribute gradio as a web component (#1444)
* distribute gradio as a web component

* fix layout + loader + dark mode in embedded wc

* fix lockfile issue

* formatting

* prevent loader conflicts

* fix formatting
2022-06-07 11:11:44 -07:00
pngwn
068132836c
Style updates (#1350)
* clean up python style api

* allow Box to be styled

* changes

* update style args and add md doc detailing

* cleanup

* add deprecation warnings

* fix

* formatting
2022-06-01 18:02:18 +01:00
pngwn
55db5c187a
add cdn entrypoint (#1387)
* add cdn entrypoint

* cleanup
2022-05-27 02:17:13 +01:00
aliabid94
a4aa6a2cb9
Add embedded demos to website (#1270)
* adding gallery

* added netlify files

* new navbar design

* header section new design

* used by section new design

* cards section new design

* integrates with section new design

* customer stories section new design

* footer and gradient

* demos section new design

* docs fixes

* docs reorg

* docs reorg

* upgrading to tailwind 3

* tailwind config changes

* navbar new design

* fixing body on all pages

* Updating Guides  (#1012)

* updating getting started

* updated codecov version

* tweaks to gs

* added netlify file

* added netlify file

* website prebuild script

* increased code size

* blocks

* edits

* blocks_hello

* hello world

* guide

* merge main

* added flipper demo

* guide

* guide

* add guides

* tweak to refresh website

* header section new design

* demos section new design

* cards design

* used by section

* tweets section

* footer on all pages

* mobile responsive fixes

* mobile responsive fixes

* https fonts

* completed blocks guide

* unify components

* minor tweaks

* docs headers styling and navigation pane

* parameter code blocks

* styling description and input type

* parameter tables and other styling

* only documenting interactive components when possible

* guides

* embedding not working

* demos not working

* fixing demo code

* fixing demos

* demo fix

* updated demos

* updated demos

* ui update

* updated docstrings

* updated code snippets so they run

* updating docs

* Interface docs

* updating interface

* fixing parameters in interface.py

* required and defaults for interface, and styling

* fixing up interface (#1207)

* fixing up interface

* fixed interface methods

* formatting

* updating interface docs

* updating interface docs

* formatting

* docstring to load from docstrings

* fixed colors

* finalize interface content

* interface examples

* fixed examples

* added some blocks docs

* blocks

* component fixes

* reorganized some files (#1210)

* formatting

* added info for every component

* fixes

* blocks docs

* added blocks demos

* adding combined interfaces

* added parallel, series

* Doc: layout update (#1216)

* doc layout

* home spacing

Co-authored-by: Abubakar Abid <abubakar@huggingface.co>

* adding layouts

* layouts done

* added events for components

* formatting and https

* brings back dropdown and other components

* fix header ids

* moved ids and fixed nav

* added parameters for remaining component

* docstring fixes

* landing page demos

* demo window placeholder

* demo nav

* fixed test

* formatting

* demo code

* correctly importing gradio  css/js

* remove keyvalues

* modify launch script to move gradio assetS

* components embedded test

* correct demo name

* hide try demo and embedding

* local devserver changes

* create embedding json with configs

* changes

* fixes

* comment out layout docs

* demo work

* demo fixes

* demo embedding fixes

* typo

* jinja fix

* demo nav fix

* hide demo button

* formatting

* removed whitespace

* remove newline from parameter

* styling demo window

* copy work

* hide demo buttons

* remove index

* remove layouts from docs

* remove merge artifact

* merge dockerfile

* chagnes

* changes

* changes

* changes

* styling demo window

* revert most things

* whoops

* chagnes

* changes

* changes

* changes

* changes

* changes

* changes

* format

* changes

* fixed Dataset docstring

* fix component signature and add required

* adding string shortcuts

* fix small issues parameter docstringss

* string shortcuts

* fixed gallery and label values

* added for remaining parameters

* formatting

* extended embedded components

* typo

* remove capitalization from embeddings

* try examples button

* added demos for blocks and combining interfaces

* demos styling

* homepage update (#1275)

* spacing

* remove console.log

* demo window fixes

* new spaces

* shorten codeblock width

* fix plot

* better string shortcuts

* add embedding config for json

* remove console log

Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
Co-authored-by: aliabd <ali.si3luwa@gmail.com>
Co-authored-by: Victor Muštar <victor.mustar@gmail.com>
2022-05-16 11:45:38 -04:00
pngwn
0c94b56b0a
Cdn assets (#1265)
* create dediacted cdn bundle with correct import behaviour

* tweak regex

* update publish script

* fix gitignore

* remove repeat incidences of version

* remove logs
2022-05-15 20:43:36 +01:00
pngwn
19afc1c70e
css tweaks (#1235)
* css tweaks

* backend for equal_height

Co-authored-by: Ali Abid <aabid94@gmail.com>
2022-05-12 21:27:21 +01:00
pngwn
2b0898b9a2
Scroll to output (#1077)
* implement loader + scroll into view

* changes

* refactor components to use Block inside the app

* cleanup

* cleanup

* implement all changes for all changes for all relevant components

* fix formatting

* demos

* add status tracker to every component

* fix tests

* fix unti test flake: randInt

* cleanup CI

* fix CI

Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2022-04-26 15:48:39 +01:00
Ali Abid
c15885f0cc merge master 2022-04-19 00:22:43 -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
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
pngwn
8ed9f3be62 add tests for textbox 2022-03-23 16:56:36 +00:00
pngwn
b7d2125323 improve test setup and utils 2022-03-23 16:55:47 +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
pngwn
163806c4f6 Merge branch 'Blocks-Components' into gradio-dash-fe 2022-03-11 16:07:28 +00:00
dawoodkhan82
d137654e46 add model3d output 2022-03-03 21:23:34 -05:00
dawoodkhan82
07b2a4992f add 3d image model 2022-03-02 22:01:05 -05:00
pngwn
262f5d3e45 fix tooling issues 2022-02-25 12:24:32 +00:00
pngwn
4d9b600627 set up component workbench 2022-02-22 12:20:28 +00:00
Ali Abid
e92e401edd updated PyPi version to 2.8.0 2022-02-17 13:57:56 -08:00
dawoodkhan82
670da0f27e merge master 2022-02-14 16:20:56 -05:00
pngwn
db59544d50
add unit tests (#602)
* add unit tests

* add tests to ci

* fix naming of tests
2022-02-14 15:24:04 +00:00
dawoodkhan82
5bf342ce6c update package.json 2022-02-11 11:19:00 -05:00
dawoodkhan82
053ead7d31 package fix 2022-02-11 10:57:38 -05:00
dawoodkhan82
fda9c4e476 move to ui dir + small fixes 2022-02-11 10:45:42 -05:00
pngwn
70981c3732
add ci for ui (#524)
* add ci for frontend

* add ci for frontend

* fix workflow

* fix format errors
2022-02-02 15:49:37 +00:00
pngwn
dd94a47f59
add typescript (#521) 2022-02-02 14:02:09 +00:00
pngwn
980b9f60eb
format frontend code with prettier (#516) 2022-02-01 15:46:50 +00:00
pngwn
f11a127ea4
Multi pkg (#515)
* bootstrap ui package

* bootstrap packages

* update frontend docs

* fix gitignore

* fix gitignore

* fix gitignore

* add pnpm link to docs
2022-02-01 13:45:55 +00:00