Linoy Tsaban commited on
Commit
9a49741
·
1 Parent(s): ec8cce5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -7
app.py CHANGED
@@ -297,13 +297,6 @@ with gr.Blocks(css="style.css") as demo:
297
  <h3>Smile, take a pic 📷✨ and <code>it'll be inverted on SDXL and a random SDXL LoRA will be applied</code></h3>
298
  """,
299
  )
300
- demo.load(None,
301
- _js="""
302
- () => {
303
- document.body.classList.toggle('dark');
304
- document.querySelector('gradio-app').style.backgroundColor = 'var(--color-background-primary)'
305
- }
306
- """,)
307
  wts = gr.State()
308
  zs = gr.State()
309
  reconstruction = gr.State()
 
297
  <h3>Smile, take a pic 📷✨ and <code>it'll be inverted on SDXL and a random SDXL LoRA will be applied</code></h3>
298
  """,
299
  )
 
 
 
 
 
 
 
300
  wts = gr.State()
301
  zs = gr.State()
302
  reconstruction = gr.State()