Dawood Khan
4816e3fb12
Fix: Download button does not respect the filepath returned by the function ( #2073 )
...
* download fix
* tweaks
* formatting
* added orig filename
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2022-08-29 13:39:15 -07:00
Dawood Khan
653b54d3c0
fix file download name ( #1921 )
2022-08-02 18:55:41 +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
Dawood Khan
dc8dd5e1be
File component: list multiple files and allow for download #1446 ( #1681 )
...
* fix multiple files
* display multiple files
* support display of multiple files
* fix multiple file output display
* format
* revert pnpm-lock.yaml
* fixes
2022-07-17 06:59:20 -04:00
pngwn
f879a08f72
make file types match ( #1538 )
...
* make file types match
* revert kitchen_sink change
2022-06-10 18:51:19 -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
Dawood Khan
7b9cba0e9e
File Cached Examples Fix ( #1334 )
...
* fix file cache examples issue
* format
* fix for tests
* format fix
* fix multiple files input
* format
* format
* fix preprocess example
* fix multiple file output
* remove single_file const
* fix tests + format
* renamed demo
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2022-06-01 12:23:12 -04:00
pngwn
a62879b8fe
Dm ( #1284 )
...
* fix
* more tweaks
* fix import
2022-05-16 19:34:08 +01:00
pngwn
ed074f9cff
Static forms ( #1264 )
...
* refactor dynamic-static detection
* refactor dynamic-static detection
2022-05-15 18:44:15 +01:00
pngwn
c00e9f9a85
ensure defaults height match for media inputs ( #1236 )
...
* ensure defaults height match for media inputs
* gallery tweak
* cleanup logs
2022-05-12 21:45:45 +01:00
pngwn
2e31988718
tweaks ( #1229 )
...
* css tweaks
* tweak
* loader tweaks
2022-05-12 18:47:40 +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 48f678f491
.
* Revert "css changes"
This reverts commit d31cd525a4
.
* Revert "changes"
This reverts commit fadcb12ffe
.
* reverting
* reverting
* changes
* changs
* Revert "changs"
This reverts commit 49d815f6fe
.
* Revert "changes"
This reverts commit 481d7c21c4
.
* 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
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
f85686975e
Optional labels fe ( #1105 )
...
* optional labels
* added prop
* Added IOComponent class
* get component fix
* fixed component function
* fixed test components
* formatting
* fixed output tests
* working on blocks tests
* fixed test blocks
* cleanup
* respect show_label prop in all components
* Update ui/packages/app/src/components/File/File.svelte
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
* Update ui/packages/app/src/components/Audio/Audio.svelte
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
* Update ui/packages/atoms/src/BlockLabel.svelte
* foirmatting
* formatting again
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2022-04-27 11:47:15 +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
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
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
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
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
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
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
6e16a8d792
update component events
2022-03-16 16:34:30 +00:00
pngwn
163806c4f6
Merge branch 'Blocks-Components' into gradio-dash-fe
2022-03-11 16:07:28 +00:00
pngwn
ec80912433
convert all components to new form
2022-03-08 13:35:42 +00:00
pngwn
0044c243db
pull all components into packages
2022-03-02 16:42:43 +00:00