Commit Graph

24 Commits

Author SHA1 Message Date
Freddy Boulton
dd90b37c9b
Update Label color from backend (#2736)
* Implement label improvements

* Fix tests + lint

* Update null case

* Types + changelog

* Add gif to changelog

* Changelog + implement for confidences

* Reduce dupe

* Change API - only use string - no function

* Update API in CHANGELOG

* Update comment

* misc fixes
2022-12-01 14:30:11 -05:00
Dawood Khan
eb42fc3cf8
Kitchen Sink Integration tests (#1588)
* tests

* more tests

* more tests

* remove files
2022-07-01 01:27:47 -04:00
aliabid94
5e7cf62a47
Fix visible (#1576)
* changes

* format

* change

* Update Blocks.svelte

* Update Render.svelte

* Update tokens.css
2022-06-16 16:49:54 -07:00
aliabid94
caa6a4e687
rework visible, attach to all components (#1511)
* changes

* fix
2022-06-13 16:49:23 -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
aliabid94
3a7f9a3b1a
Allow users to return dicts for values (#1373)
* changes

* changes

* add visible flag
2022-05-24 23:30:24 -07: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
Radamés Ajna
1c3dffd291
Default Label label value (#1239) 2022-05-13 01:23:45 +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
aliabid94
ce47c48ebc
Update component config (#1089)
* first commit

* changes

* restore defualt_value name

* changes

* rm value=

* rm value=

* rm value=

* changes

* changes

* changes

* rename default_val to value

* changes

* changes

* changes

* changes

* format

* changes

* changes

* format

* test fix

Co-authored-by: Ali Abid <aliabid94@gmail.com>
2022-05-10 17:11:43 -07:00
pngwn
56222fbe2b
1148 loading status (#1164)
* update loader

* fix for non queued statuses

* remove logs

* Update demo/fake_gan/run.py
2022-05-05 20:05:05 +01: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
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
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
95deeb8f9b cleanup default_value 2022-03-29 14:10:35 +01:00
Ali Abid
d4759cfb3c fix format 2022-03-24 23:03:47 -07:00
Ali Abid
4e0e78923c more changes 2022-03-24 21:00:30 -07: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
ec80912433 convert all components to new form 2022-03-08 13:35:42 +00:00