Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added automatic dash gui generator using dash-component-editor #171

Merged
merged 22 commits into from
Mar 7, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
22 commits
Select commit Hold shift + click to select a range
77332e4
:wrench: added new pkg required for using dash_component_editor
zhuowenzhao Mar 2, 2024
0a51ed0
:sparkles: added content registry example
zhuowenzhao Mar 2, 2024
c02246d
:sparkles: added a model description example
zhuowenzhao Mar 2, 2024
a9b9b3f
:sparkles: added automatic dash gui generator
zhuowenzhao Mar 2, 2024
28b2edc
:sparkles: added callback to retrieve model paramters from gui
zhuowenzhao Mar 2, 2024
a7bd926
:wrench: cleaned lb import
zhuowenzhao Mar 2, 2024
10dab13
Apply `pre-commit run --all files`
Wiebke Mar 5, 2024
0b8f71b
:boom: Move children generation callback into control_bar
Wiebke Mar 5, 2024
2c6a4b5
Fix remaining `flake8 warnings`
Wiebke Mar 5, 2024
132a5ea
Move `dcc.Store` elements from app file into control bar component
Wiebke Mar 5, 2024
b51c998
:bug: Fix (non-)use of path parameter in `Models`
Wiebke Mar 5, 2024
b3915e7
Elevate `_control_item ` function to class `ControlItem`, delete unus…
Wiebke Mar 5, 2024
8b34636
:sparkles: Add Dlsia model parameters
Wiebke Mar 6, 2024
fcc511f
Remove shuffling for validation and inference
Wiebke Mar 6, 2024
ed16b22
Switch from Bootstrap to Mantine for generated control elements
Wiebke Mar 6, 2024
5b177c4
Clean up `Models`, `JSONParameterEditor`, and parameter retrieval
Wiebke Mar 6, 2024
790d4ef
Rename `dash_component_editor` to better represent new structure
Wiebke Mar 6, 2024
88afca2
Merge branch 'main' into automatic-dash-component
Wiebke Mar 6, 2024
6193c53
Check if `image_shapes` was initialized
Wiebke Mar 6, 2024
d09a45a
Give the generated parameters some space
Wiebke Mar 7, 2024
8e6e488
:whale: Add missing environment variables
Wiebke Mar 7, 2024
02732a6
Change default activation and learning rate step
Wiebke Mar 7, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions app.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

import dash_auth
import dash_mantine_components as dmc
from dash import Dash, dcc
from dash import Dash

from callbacks.control_bar import * # noqa: F403, F401
from callbacks.image_viewer import * # noqa: F403, F401
Expand Down Expand Up @@ -30,9 +30,8 @@
children=[
control_bar_layout(),
image_viewer_layout(),
dcc.Store(id="current-class-selection", data="#FFA200"),
],
)

if __name__ == "__main__":
app.run_server(debug=True)
app.run_server(host="0.0.0.0", port=8075, debug=True)
Loading
Loading