Changes to text color
Browse files
app.py
CHANGED
|
@@ -85,6 +85,9 @@ html, body, .gradio-container { background: var(--imx-page) !important; color: v
|
|
| 85 |
.gradio-container .description,
|
| 86 |
.gradio-container .tab-nav button { color: var(--imx-paper) !important; }
|
| 87 |
.gradio-container .imx-plot-heading { color: var(--imx-teal) !important; }
|
|
|
|
|
|
|
|
|
|
| 88 |
.imx-shell { max-width: 1380px; margin: 0 auto; }
|
| 89 |
.imx-hero { background: linear-gradient(125deg, #183b56 0%, #236477 58%, #18a999 100%); color: white; border-radius: 20px; padding: 30px 34px; margin-bottom: 18px; box-shadow: 0 14px 32px rgba(24,59,86,.16); }
|
| 90 |
.imx-hero h1 { margin: 0 0 8px; font-size: 2.2rem; letter-spacing: -.03em; }
|
|
@@ -192,8 +195,8 @@ def build_demo():
|
|
| 192 |
info="Complete accepts a full UppASD neighbour setup. Reduced generates symmetry-related neighbours; conflicting Jij values are reported, never averaged.",
|
| 193 |
)
|
| 194 |
with gr.Row():
|
| 195 |
-
inpsd_file = gr.File(label="inpsd.dat", file_count="single", type="filepath")
|
| 196 |
-
supporting_files = gr.File(label="posfile / momfile / jfile (max 32 files / 100 MiB)", file_count="multiple", type="filepath")
|
| 197 |
with gr.Row():
|
| 198 |
refresh_mapping = gr.Button("Inspect file mapping", variant="secondary")
|
| 199 |
load_button = gr.Button("Load input set", variant="primary")
|
|
@@ -264,9 +267,9 @@ def build_demo():
|
|
| 264 |
with gr.Tab("6 路 Compare datasets"):
|
| 265 |
gr.Markdown("### Compare two compatible Jij datasets\nUseful for LKAG vs frozen-magnon comparisons. Basis cell/positions must match; exchange values are allowed to differ.")
|
| 266 |
with gr.Row():
|
| 267 |
-
b_inpsd = gr.File(label="Dataset B 路 inpsd.dat", file_count="single", type="filepath")
|
| 268 |
-
b_files = gr.File(label="Dataset B 路 referenced files", file_count="multiple", type="filepath")
|
| 269 |
-
external_response_file = gr.File(label="Optional external induced response (qx qy qz m_ind or path_coordinate m_ind)", file_count="single", type="filepath")
|
| 270 |
compare_observable = gr.Dropdown(["raw", "dressed", "magnons"], value="raw", label="Compare observable")
|
| 271 |
compare_button = gr.Button("Compare A vs B", variant="primary")
|
| 272 |
compare_status = gr.Markdown()
|
|
|
|
| 85 |
.gradio-container .description,
|
| 86 |
.gradio-container .tab-nav button { color: var(--imx-paper) !important; }
|
| 87 |
.gradio-container .imx-plot-heading { color: var(--imx-teal) !important; }
|
| 88 |
+
.gradio-container .imx-file-upload .wrap { color: var(--imx-paper) !important; }
|
| 89 |
+
.gradio-container .imx-file-upload .wrap .or { color: var(--imx-text-muted) !important; }
|
| 90 |
+
.gradio-container .imx-file-upload .wrap .icon-wrap { color: var(--imx-text-muted) !important; }
|
| 91 |
.imx-shell { max-width: 1380px; margin: 0 auto; }
|
| 92 |
.imx-hero { background: linear-gradient(125deg, #183b56 0%, #236477 58%, #18a999 100%); color: white; border-radius: 20px; padding: 30px 34px; margin-bottom: 18px; box-shadow: 0 14px 32px rgba(24,59,86,.16); }
|
| 93 |
.imx-hero h1 { margin: 0 0 8px; font-size: 2.2rem; letter-spacing: -.03em; }
|
|
|
|
| 195 |
info="Complete accepts a full UppASD neighbour setup. Reduced generates symmetry-related neighbours; conflicting Jij values are reported, never averaged.",
|
| 196 |
)
|
| 197 |
with gr.Row():
|
| 198 |
+
inpsd_file = gr.File(label="inpsd.dat", file_count="single", type="filepath", elem_classes=["imx-file-upload"])
|
| 199 |
+
supporting_files = gr.File(label="posfile / momfile / jfile (max 32 files / 100 MiB)", file_count="multiple", type="filepath", elem_classes=["imx-file-upload"])
|
| 200 |
with gr.Row():
|
| 201 |
refresh_mapping = gr.Button("Inspect file mapping", variant="secondary")
|
| 202 |
load_button = gr.Button("Load input set", variant="primary")
|
|
|
|
| 267 |
with gr.Tab("6 路 Compare datasets"):
|
| 268 |
gr.Markdown("### Compare two compatible Jij datasets\nUseful for LKAG vs frozen-magnon comparisons. Basis cell/positions must match; exchange values are allowed to differ.")
|
| 269 |
with gr.Row():
|
| 270 |
+
b_inpsd = gr.File(label="Dataset B 路 inpsd.dat", file_count="single", type="filepath", elem_classes=["imx-file-upload"])
|
| 271 |
+
b_files = gr.File(label="Dataset B 路 referenced files", file_count="multiple", type="filepath", elem_classes=["imx-file-upload"])
|
| 272 |
+
external_response_file = gr.File(label="Optional external induced response (qx qy qz m_ind or path_coordinate m_ind)", file_count="single", type="filepath", elem_classes=["imx-file-upload"])
|
| 273 |
compare_observable = gr.Dropdown(["raw", "dressed", "magnons"], value="raw", label="Compare observable")
|
| 274 |
compare_button = gr.Button("Compare A vs B", variant="primary")
|
| 275 |
compare_status = gr.Markdown()
|