prithivMLmods commited on
Commit
5717146
1 Parent(s): 2548094

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -34,7 +34,7 @@ def check_text(prompt, negative=""):
34
 
35
  js_func = """
36
 
37
- function refresh() {
38
  const url = new URL(window.location);
39
  if (url.searchParams.get('__theme') !== 'dark') {
40
  url.searchParams.set('__theme', 'dark');
 
34
 
35
  js_func = """
36
 
37
+ function () {
38
  const url = new URL(window.location);
39
  if (url.searchParams.get('__theme') !== 'dark') {
40
  url.searchParams.set('__theme', 'dark');