Spaces:
Sleeping
Sleeping
update: theme, forced Light Theme for Gradio Components
Browse files
app.py
CHANGED
@@ -71,6 +71,7 @@ body {
|
|
71 |
background-color: #fcf4ee;
|
72 |
background-size: 1800px 1800px;
|
73 |
height: 100%;
|
|
|
74 |
margin: 0;
|
75 |
overflow-y: auto;
|
76 |
}
|
@@ -231,7 +232,7 @@ def view_model(selected_models):
|
|
231 |
"""
|
232 |
return netron_html if netron_html else "<p>No valid models selected for visualization.</p>"
|
233 |
|
234 |
-
with gr.Blocks(css=custom_css) as demo:
|
235 |
gr.HTML("""
|
236 |
<div style="border: 2px solid #a05252; padding: 20px; border-radius: 8px;">
|
237 |
<span style="color: #800000; font-family: 'Papyrus', cursive; font-weight: bold; font-size: 32px;">NeuralVista</span><br><br>
|
|
|
71 |
background-color: #fcf4ee;
|
72 |
background-size: 1800px 1800px;
|
73 |
height: 100%;
|
74 |
+
color-scheme: light !important;
|
75 |
margin: 0;
|
76 |
overflow-y: auto;
|
77 |
}
|
|
|
232 |
"""
|
233 |
return netron_html if netron_html else "<p>No valid models selected for visualization.</p>"
|
234 |
|
235 |
+
with gr.Blocks(css=custom_css, theme="default") as demo:
|
236 |
gr.HTML("""
|
237 |
<div style="border: 2px solid #a05252; padding: 20px; border-radius: 8px;">
|
238 |
<span style="color: #800000; font-family: 'Papyrus', cursive; font-weight: bold; font-size: 32px;">NeuralVista</span><br><br>
|