Spaces:
Running
Running
MilesCranmer
commited on
style(gui): add default gui for config
Browse files- gui/app.py +4 -1
gui/app.py
CHANGED
@@ -3,6 +3,8 @@ from data import test_equations
|
|
3 |
from plots import plot_example_data, plot_pareto_curve
|
4 |
from processing import processing
|
5 |
|
|
|
|
|
6 |
|
7 |
def _data_layout():
|
8 |
with gr.Tab("Example Data"):
|
@@ -170,8 +172,9 @@ def _settings_layout():
|
|
170 |
|
171 |
|
172 |
def main():
|
|
|
173 |
blocks = {}
|
174 |
-
with gr.Blocks() as demo:
|
175 |
with gr.Row():
|
176 |
with gr.Column():
|
177 |
with gr.Row():
|
|
|
3 |
from plots import plot_example_data, plot_pareto_curve
|
4 |
from processing import processing
|
5 |
|
6 |
+
GLOBAL_SETTINGS = dict(theme="default")
|
7 |
+
|
8 |
|
9 |
def _data_layout():
|
10 |
with gr.Tab("Example Data"):
|
|
|
172 |
|
173 |
|
174 |
def main():
|
175 |
+
global GLOBAL_SETTINGS
|
176 |
blocks = {}
|
177 |
+
with gr.Blocks(**GLOBAL_SETTINGS) as demo:
|
178 |
with gr.Row():
|
179 |
with gr.Column():
|
180 |
with gr.Row():
|