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
Ali Abid
0e4931fbe2
changes
2022-07-26 15:11:08 -04:00
Ali Abid
0920710779
change
2022-07-22 12:49:21 +01: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
aliabid94
70ebf698fa
Live website changes ( #1578 )
...
* fix audio output cache (#804 )
* fix audio output cache
* changes
* version update
Co-authored-by: Ali Abid <aliabid94@gmail.com>
* Website Tracker Slackbot (#797 )
* added commands to reload script
* catch errors with git pull
* read new webhook from os variable
* correcting bash
* bash fixes
* formatting
* more robust error checking
* only sends success if git changes
* catching error from script
* escaping error text to send with curl
* correct text escaping for error message
* fix search bug in guides (#809 )
* Update getting_started.md (#808 )
* Fix type of server returned by `Launchable` (#810 )
* `Launchable` returns a FastAPI now
* Update .gitignore
* Add a missing line to getting started (#816 )
Former-commit-id: 81e271ca22e838e1ee618d48cdb0e904fd233cf3 [formerly 96f203108bf1222fe333a0175687293abdc669d7]
Former-commit-id: eaff13262853078e0c6c0baa54c731d9e56bc73f
* Add a missing line to getting started (#816 )
Former-commit-id: 81e271ca22e838e1ee618d48cdb0e904fd233cf3 [formerly 81e271ca22e838e1ee618d48cdb0e904fd233cf3 [formerly 96f203108bf1222fe333a0175687293abdc669d7]]
Former-commit-id: eaff13262853078e0c6c0baa54c731d9e56bc73f
Former-commit-id: b5112c3f425c0ea961461854efae9c28a73aea01
* Add a missing line to getting started (#816 )
Former-commit-id: 81e271ca22e838e1ee618d48cdb0e904fd233cf3 [formerly 81e271ca22e838e1ee618d48cdb0e904fd233cf3 [formerly 81e271ca22e838e1ee618d48cdb0e904fd233cf3 [formerly 96f203108bf1222fe333a0175687293abdc669d7]]]
Former-commit-id: eaff13262853078e0c6c0baa54c731d9e56bc73f
Former-commit-id: b5112c3f425c0ea961461854efae9c28a73aea01
Former-commit-id: bce6f9c4c5254301eb73e76eb47cddab3e132c24
* Add a missing line to getting started (#816 )
Former-commit-id: 81e271ca22e838e1ee618d48cdb0e904fd233cf3 [formerly 81e271ca22e838e1ee618d48cdb0e904fd233cf3 [formerly 81e271ca22e838e1ee618d48cdb0e904fd233cf3 [formerly 81e271ca22e838e1ee618d48cdb0e904fd233cf3 [formerly 96f203108bf1222fe333a0175687293abdc669d7]]]]
Former-commit-id: eaff13262853078e0c6c0baa54c731d9e56bc73f
Former-commit-id: b5112c3f425c0ea961461854efae9c28a73aea01
Former-commit-id: bce6f9c4c5254301eb73e76eb47cddab3e132c24
Former-commit-id: feba0888e3d488b82a3518343f607517d0836f13
* Add a missing line to getting started (#816 )
* Clean-History
- Remove 51MB file with this commit
Former-commit-id: 34b6a2325d613eeef622410f2d1ff3d869d3133c
* Clean-History
- Remove 51MB file with this commit
Former-commit-id: 34b6a2325d613eeef622410f2d1ff3d869d3133c
Former-commit-id: dd700c33cca3f560621219530444b631b7767392
* Clean-History
- Remove 51MB file with this commit
Former-commit-id: 34b6a2325d613eeef622410f2d1ff3d869d3133c
Former-commit-id: dd700c33cca3f560621219530444b631b7767392
Former-commit-id: 0d80e6a056abad1c4d1fd6f162eb725e0db5fb4f
* Clean-History
- Remove 51MB file with this commit
Former-commit-id: 34b6a2325d613eeef622410f2d1ff3d869d3133c
Former-commit-id: dd700c33cca3f560621219530444b631b7767392
Former-commit-id: 0d80e6a056abad1c4d1fd6f162eb725e0db5fb4f
Former-commit-id: 20523b05194438209cf64cb688008b4599eb847e
* changes
* changes
* Homepage: header image size (#1347 )
* image size
* image in local assets
* add dall-e mini banner
* undo ui changes
* changes
* changes
* updates
* updates
* changes
* changes
* changes
* h11 dependency
* add npm build-mac
* expand demo button to all classes
* add demos to docstrings
* add anchor tags to headers
* add required tag to param table
* add consistent styling for headers
* skip param beginning with underscore from docs
* skip kwargs param from docs
* remove types in param docstring
* override signature to reflect usage
* add supported events
* add step-by-step guides
* fix guide contribution link
* add related spaces
* fix img styling on guides
* pin quickstart, advanced, and block guides to top
* margin fix
* autogenerated copy buttons for all codeblocks
* changes
* documentaiton
* format
* launch
* formatting
* style changes
* remove backticks
* changes
* changes
Co-authored-by: Ali Abid <aliabid94@gmail.com>
Co-authored-by: Ali Abdalla <ali.si3luwa@gmail.com>
Co-authored-by: Julien Chaumond <julien@huggingface.co>
Co-authored-by: Ömer Faruk Özdemir <farukozderim@gmail.com>
Co-authored-by: Ali <ali.abid@huggingface.co>
Co-authored-by: Victor Muštar <victor.mustar@gmail.com>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2022-07-06 16:22:10 -07:00
Dawood Khan
eb42fc3cf8
Kitchen Sink Integration tests ( #1588 )
...
* tests
* more tests
* more tests
* remove files
2022-07-01 01:27:47 -04: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
7b4ad81d59
update plot ui ( #1405 )
2022-05-30 15:21:36 +01:00
pngwn
55db5c187a
add cdn entrypoint ( #1387 )
...
* add cdn entrypoint
* cleanup
2022-05-27 02:17:13 +01:00
pngwn
21e42d54b5
Remove image editor ( #1308 )
...
* remove tui image editor
* remove dep
2022-05-17 14:58:12 +01:00
pngwn
8b1a50775a
General tweaks ( #1276 )
...
* tweaks + radio fix
* remove unused prop
* revert demo
* ensure table renders empty strings and zeroes
* remove logs
* remove bundle stats
2022-05-16 18:22:09 +01:00
pngwn
700c4fc9cf
Layout bugs ( #1246 )
...
* fix layout issues
* fix visible kwarg + demo tweak
* fix blocks error wwhen parent is not column or row
2022-05-13 15:47:50 +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
aliabid94
33ef309451
Allow Custom CSS ( #1170 )
...
* changes
* css changes
* updated PyPi version to 2.9b24
* Revert "updated PyPi version to 2.9b24"
This reverts commit 48f678f491ef0c0479fc79b942d9de51740a9ded.
* Revert "css changes"
This reverts commit d31cd525a4f55f5c758872ff271c21b42e15feee.
* Revert "changes"
This reverts commit fadcb12ffeb6486fbf79cb20e7830f43ab5f2b79.
* reverting
* reverting
* changes
* changs
* Revert "changs"
This reverts commit 49d815f6fe50dca0dc8affdfe9d2b718e442b692.
* Revert "changes"
This reverts commit 481d7c21c4299d9f34207f3a30739cf14d922b2d.
* changes
* format
* changes
* format
* test fix
* test fix
* test fix
* fix tests
Co-authored-by: Ali Abid <aliabid94@gmail.com>
2022-05-11 21:40:41 -07:00
pngwn
4ca48284bb
hltext-label ( #1204 )
...
* show highttext label + tweaks
* show highttext label + tweaks
2022-05-10 17:01:36 +01:00
Victor Muštar
962a254a6b
WIP: Add dark mode support ( #1187 )
...
* add gray 950 to tailwind config
* overwrite global css for dark-mode
* add dark-mode to css tokens
* add dark-mode to components
* workbench dark-mode update
* checkbox tweak
* create icon components
* tweaks
* formatting
* formatting
* handle dark mode query params + system settings
* fix css
Co-authored-by: pngwn <hello@pngwn.io>
2022-05-09 17:26:09 -07:00
pngwn
94ab75dbec
962 dataframe ( #1186 )
...
* refresh dataframe
* add fixed rows + cols to dataframe
* tweaks
* validate dataframe headers + col_count
* cleanup
* cleanup
* make linter happy
* fix test
* fix test again
* fix test definitely this time
* implement file drop support for dataframe
* remove leftover files
* tweaks
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2022-05-08 21:55:02 -07:00
pngwn
eca95a549d
Timeseries improvements ( #1149 )
...
* ensure chart works with decimal values + generatesaxis lines for values below 10
* add negative example
* use color palette for chart
* add colors kwarg to Timeseries
* fix test?
2022-05-03 14:05:17 -07:00
pngwn
81e981eb7a
use color palette for chatbot ( #1152 )
2022-05-03 13:53:24 -07:00
pngwn
1032313988
highlighted text colors ( #1119 )
...
* highlighted text colors
* fix document error
2022-05-02 09:41:34 +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
0312c4043c
format
2022-04-19 00:25:17 -07:00
Ali Abid
c15885f0cc
merge master
2022-04-19 00:22: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
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
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
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
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
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
pngwn
cdd4b5a81a
fix lockfile
2022-03-11 16:10:23 +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
ddbd121a03
more
2022-03-07 13:36:49 +00:00
dawoodkhan82
d137654e46
add model3d output
2022-03-03 21:23:34 -05:00
pngwn
0044c243db
pull all components into packages
2022-03-02 16:42:43 +00:00
pngwn
262f5d3e45
fix tooling issues
2022-02-25 12:24:32 +00:00
pngwn
7924ac5829
populate workbench
2022-02-23 11:17:41 +00:00
pngwn
4d9b600627
set up component workbench
2022-02-22 12:20:28 +00:00
pngwn
4f26051d35
fix: dark mode ( #652 )
...
* swap postcss nested for tailwinf nesting plugin
* dark mode dataframe
* make background height expand with content
* updated test images
* fixed images
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2022-02-17 13:21:18 -08:00
aliabid94
2734bd782e
python format fix [hotfix] ( #615 )
...
* format fix
* fix image tests
Co-authored-by: Ali Abid <aliabid94@gmail.com>
2022-02-14 21:03:51 -08:00
dawoodkhan82
ba0c996a2f
undo pretty format of website
2022-02-14 16:50:15 -05: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
2438b0bb90
more pretty formatting
2022-02-11 11:34:49 -05:00