prithivMLmods commited on
Commit
af7578a
·
verified ·
1 Parent(s): 7c51509

update app

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -1352,7 +1352,7 @@ css = '''
1352
  .progress-bar {height: 100%;background-color: #4f46e5;width: calc(var(--current) / var(--total) * 100%);transition: width 0.5s ease-in-out}
1353
  '''
1354
 
1355
- with gr.Blocks(delete_cache=(60, 60)) as app:
1356
  title = gr.HTML(
1357
  """<h1>FLUX LoRA DLC2🔥</h1>""",
1358
  elem_id="title",
@@ -1423,5 +1423,5 @@ with gr.Blocks(delete_cache=(60, 60)) as app:
1423
  outputs=[result, seed, progress_bar]
1424
  )
1425
 
1426
- app.queue()
1427
- app.launch(theme=steel_blue_theme, css=css, mcp_server=True, ssr_mode=False, show_error=True)
 
1352
  .progress-bar {height: 100%;background-color: #4f46e5;width: calc(var(--current) / var(--total) * 100%);transition: width 0.5s ease-in-out}
1353
  '''
1354
 
1355
+ with gr.Blocks(delete_cache=(60, 60)) as demo:
1356
  title = gr.HTML(
1357
  """<h1>FLUX LoRA DLC2🔥</h1>""",
1358
  elem_id="title",
 
1423
  outputs=[result, seed, progress_bar]
1424
  )
1425
 
1426
+ demo.queue()
1427
+ demo.launch(theme=steel_blue_theme, css=css, mcp_server=True, ssr_mode=False, show_error=True)