CognitiveScience commited on
Commit
200bebb
·
verified ·
1 Parent(s): 1c55560

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
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", "dark");
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
- #head=DARK_MODE_HEAD,
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
  )