doevent commited on
Commit
27a66ed
1 Parent(s): caee859

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -43,7 +43,7 @@ css="""
43
  }
44
  """
45
 
46
- with gr.Blocks(css=css) as demo:
47
 
48
  with gr.Column(elem_id="col-container"):
49
  gr.Markdown(f"""# [FLUX.1 [merged]](https://huggingface.co/sayakpaul/FLUX.1-merged)
@@ -126,4 +126,4 @@ Merge by [Sayak Paul](https://huggingface.co/sayakpaul) of 2 of the 12B param re
126
  outputs = [result, seed]
127
  )
128
 
129
- demo.launch()
 
43
  }
44
  """
45
 
46
+ with gr.Blocks(css=css, delete_cache=(4000, 4000)) as demo:
47
 
48
  with gr.Column(elem_id="col-container"):
49
  gr.Markdown(f"""# [FLUX.1 [merged]](https://huggingface.co/sayakpaul/FLUX.1-merged)
 
126
  outputs = [result, seed]
127
  )
128
 
129
+ demo.queue(default_concurrency_limit=2).launch(show_error=True)