wylum commited on
Commit
ce7293a
·
verified ·
1 Parent(s): f466ae1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -4
app.py CHANGED
@@ -39,8 +39,7 @@ title = "Nudity Censor Vincent version 2.1"
39
  theme = "Nymbo/Alyx_Theme"
40
 
41
 
42
- def app():
43
- with gr.Blocks():
44
  with gr.Row():
45
  with gr.Column():
46
  input = gr.components.Image(type='filepath')
@@ -75,8 +74,7 @@ def app():
75
  ],
76
  outputs=[input],
77
  cache_examples="lazy",
78
- ),
79
 
80
-
81
 
82
  demo.queue().launch(share=True)
 
39
  theme = "Nymbo/Alyx_Theme"
40
 
41
 
42
+ with gr.Blocks() as demo:
 
43
  with gr.Row():
44
  with gr.Column():
45
  input = gr.components.Image(type='filepath')
 
74
  ],
75
  outputs=[input],
76
  cache_examples="lazy",
77
+ )
78
 
 
79
 
80
  demo.queue().launch(share=True)