Skip to content

Commit ef7aada

Browse files
committed
style(gui): add default gui for config
1 parent 84b46ac commit ef7aada

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

gui/app.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33
from plots import plot_example_data, plot_pareto_curve
44
from processing import processing
55

6+
GLOBAL_SETTINGS = dict(theme="default")
7+
68

79
def _data_layout():
810
with gr.Tab("Example Data"):
@@ -170,8 +172,9 @@ def _settings_layout():
170172

171173

172174
def main():
175+
global GLOBAL_SETTINGS
173176
blocks = {}
174-
with gr.Blocks() as demo:
177+
with gr.Blocks(**GLOBAL_SETTINGS) as demo:
175178
with gr.Row():
176179
with gr.Column():
177180
with gr.Row():

0 commit comments

Comments
 (0)