salomonsky commited on
Commit
eaf80ac
1 Parent(s): d8c7ec9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -202,5 +202,5 @@ with gr.Blocks(css=CSS, js=JS, theme="Nymbo/Nymbo_Theme") as demo:
202
  outputs=[img, seed, output_res]
203
  )
204
 
205
- if name == "main":
206
- demo.queue(api_open=False).launch(show_api=False, share=False)
 
202
  outputs=[img, seed, output_res]
203
  )
204
 
205
+ if __name__ == "__main__":
206
+ demo.queue(api_open=False).launch(show_api=False, share=False)