Skip to content

Commit

Permalink
updates to flet webui (#1697)
Browse files Browse the repository at this point in the history
# Description
More update/changes to flet wedui, still WIP.
added re-orderable layers panel.
added messages to bottom panel.
changed appbar to row.

# Checklist:

- [x] I have changed the base branch to `dev`
- [x] I have performed a self-review of my own code
- [x] I have commented my code in hard-to-understand areas
- [ ] I have made corresponding changes to the documentation
  • Loading branch information
ZeroCool940711 committed Nov 29, 2022
2 parents 84120d1 + 78acfd9 commit 18a3b80
Show file tree
Hide file tree
Showing 4 changed files with 516 additions and 228 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ condaenv.*.requirements.txt
!/src/components/*
!/src/pages/*
/src/*
/inputs
/outputs
/model_cache
/log/**/*.png
Expand Down
58 changes: 8 additions & 50 deletions configs/webui/webui_flet.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -53,60 +53,18 @@ webui_page:
option_list:
- !!str 'dark'
- !!str 'light'
default_border:
display: slider
value: !!int '1'
min: !!int '0'
max: !!int '10'
step: !!float '1.0'
default_border_radius:
display: slider
value: !!int '0'
min: !!int '1'
max: !!int '10'
step: !!float '1.0'
default_container_height:
display: slider
value: !!int '200'
min: !!int '20'
max: !!int '600'
step: !!float '20.0'
default_container_width:
display: slider
value: !!int '200'
min: !!int '20'
max: !!int '600'
step: !!float '20.0'
default_margin:
display: slider
value: !!int '1'
min: !!int '1'
max: !!int '10'
step: !!float '1.0'
default_opacity:
display: slider
value: !!float '1.0'
min: !!float '0.0'
max: !!float '1.0'
step: !!float '0.1'
default_padding:
display: slider
value: !!int '0'
min: !!int '0'
max: !!int '10'
step: !!float '1.0'
default_scale:
display: slider
value: !!float '1'
min: !!float '0.5'
max: !!float '2.0'
step: !!float '0.1'
default_text_size:
display: slider
value: !!int '20'
min: !!int '10'
max: !!int '32'
step: !!float '2.0'
max_message_history:
display: slider
value: !!int '20'
min: !!int '1'
max: !!int '100'
step: !!int '1'

general_page:
huggingface_token:
Expand Down Expand Up @@ -194,9 +152,9 @@ output_page:
performance_page:
gpu:
display: dropdown
value: !!str '0:Nvidia9000'
value: !!str ''
option_list:
- !!str '0:Nvidia9000'
- !!str '0:'
gfpgan_cpu:
display: bool
value: !!bool 'false'
Expand Down

0 comments on commit 18a3b80

Please sign in to comment.