We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 84b46ac commit 954f2e9Copy full SHA for 954f2e9
gui/app.py
@@ -3,6 +3,8 @@
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"):
@@ -170,8 +172,9 @@ def _settings_layout():
170
172
171
173
174
def main():
175
+ global GLOBAL_SETTINGS
176
blocks = {}
- with gr.Blocks() as demo:
177
+ with gr.Blocks(**GLOBAL_SETTINGS) as demo:
178
with gr.Row():
179
with gr.Column():
180
0 commit comments