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

Add model reference in interface #181

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
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
Binary file added assets/dlsia.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 3 additions & 3 deletions assets/models.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"contents": [
{
"model_name": "MSDNet",
"model_name": "DLSIA MSDNet",
"version": "0.0.1",
"type": "supervised",
"user": "mlexchange team",
Expand Down Expand Up @@ -437,7 +437,7 @@
"reference": "https://dlsia.readthedocs.io/en/latest/"
},
{
"model_name": "TUNet",
"model_name": "DLSIA TUNet",
"version": "0.0.1",
"type": "supervised",
"user": "mlexchange team",
Expand Down Expand Up @@ -862,7 +862,7 @@
"reference": "https://dlsia.readthedocs.io/en/latest/"
},
{
"model_name": "TUNet3+",
"model_name": "DLSIA TUNet3+",
"version": "0.0.1",
"type": "supervised",
"user": "mlexchange team",
Expand Down
17 changes: 16 additions & 1 deletion components/control_bar.py
Original file line number Diff line number Diff line change
Expand Up @@ -606,7 +606,22 @@ def layout():
placeholder="Select a model...",
),
),
dmc.Space(h=15),
dmc.Space(h=25),
ControlItem(
"Model Info",
"model-info",
dmc.Anchor(
dmc.Image(
src="/assets/dlsia.png",
alt="dlsia-logo",
width=150,
),
id="dlsia-reference",
href="https://dlsia.readthedocs.io/en/latest/",
target="_blank",
size="sm",
),
),
html.Div(id="model-parameters"),
dcc.Store(id="model-parameter-values", data={}),
dmc.Space(h=25),
Expand Down
Loading