LPX commited on
Commit
de8cc78
·
1 Parent(s): a2ebda3

Update demo launch method in app_v4.py to use queue for improved performance

Browse files
Files changed (1) hide show
  1. app_v4.py +1 -2
app_v4.py CHANGED
@@ -239,5 +239,4 @@ with gr.Blocks(title="FLUX Turbo Upscaler", fill_height=True) as demo:
239
  outputs=[prompt]
240
  )
241
 
242
- init_space()
243
- demo.launch(show_error=True)
 
239
  outputs=[prompt]
240
  )
241
 
242
+ demo.queue().launch(show_error=True)