Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
|
@@ -169,8 +169,8 @@ js_func = """
|
|
| 169 |
function refresh() {
|
| 170 |
const url = new URL(window.location);
|
| 171 |
|
| 172 |
-
if (url.searchParams.get('__theme') !== '
|
| 173 |
-
url.searchParams.set('__theme', '
|
| 174 |
window.location.href = url.href;
|
| 175 |
}
|
| 176 |
}
|
|
|
|
| 169 |
function refresh() {
|
| 170 |
const url = new URL(window.location);
|
| 171 |
|
| 172 |
+
if (url.searchParams.get('__theme') !== 'light') {
|
| 173 |
+
url.searchParams.set('__theme', 'light');
|
| 174 |
window.location.href = url.href;
|
| 175 |
}
|
| 176 |
}
|