Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
@@ -130,7 +130,7 @@ with gr.Blocks(theme='SebastianBravo/simci_css') as demo:
|
|
130 |
|
131 |
def apply_dark_theme(url):
|
132 |
if not url.endswith('?__theme=dark'):
|
133 |
-
webbrowser.
|
134 |
|
135 |
gradioURL = 'http://localhost:7860/'
|
136 |
apply_dark_theme(gradioURL)
|
|
|
130 |
|
131 |
def apply_dark_theme(url):
|
132 |
if not url.endswith('?__theme=dark'):
|
133 |
+
webbrowser.open(url + '?__theme=dark')
|
134 |
|
135 |
gradioURL = 'http://localhost:7860/'
|
136 |
apply_dark_theme(gradioURL)
|