Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -85,7 +85,7 @@ DARK_MODE_HEAD = """<script>
|
|
| 85 |
(() => {
|
| 86 |
const url = new URL(window.location.href);
|
| 87 |
if (!url.searchParams.has("__theme")) {
|
| 88 |
-
url.searchParams.set("__theme", "
|
| 89 |
window.location.replace(url);
|
| 90 |
}
|
| 91 |
})();
|
|
@@ -727,5 +727,5 @@ if __name__ == "__main__":
|
|
| 727 |
server_port=7860,
|
| 728 |
ssr_mode=False,
|
| 729 |
css=EDITOR_CSS,
|
| 730 |
-
|
| 731 |
)
|
|
|
|
| 85 |
(() => {
|
| 86 |
const url = new URL(window.location.href);
|
| 87 |
if (!url.searchParams.has("__theme")) {
|
| 88 |
+
url.searchParams.set("__theme", "system");
|
| 89 |
window.location.replace(url);
|
| 90 |
}
|
| 91 |
})();
|
|
|
|
| 727 |
server_port=7860,
|
| 728 |
ssr_mode=False,
|
| 729 |
css=EDITOR_CSS,
|
| 730 |
+
head=DARK_MODE_HEAD,
|
| 731 |
)
|