prithivMLmods commited on
Commit
a945b67
·
verified ·
1 Parent(s): cae0b95

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -2187,7 +2187,7 @@ css = '''
2187
  .progress-bar {height: 100%;background-color: #4f46e5;width: calc(var(--current) / var(--total) * 100%);transition: width 0.5s ease-in-out}
2188
  '''
2189
 
2190
- with gr.Blocks(delete_cache=(60, 60)) as app:
2191
  title = gr.HTML("""<h1>FLUX LoRA DLC🥳</h1>""", elem_id="title",)
2192
  selected_index = gr.State(None)
2193
  with gr.Row():
@@ -2255,5 +2255,5 @@ with gr.Blocks(delete_cache=(60, 60)) as app:
2255
  outputs=[result, seed, progress_bar]
2256
  )
2257
 
2258
- app.queue()
2259
- app.launch(theme=steel_blue_theme, css=css, mcp_server=True, ssr_mode=False, show_error=True)
 
2187
  .progress-bar {height: 100%;background-color: #4f46e5;width: calc(var(--current) / var(--total) * 100%);transition: width 0.5s ease-in-out}
2188
  '''
2189
 
2190
+ with gr.Blocks(delete_cache=(60, 60)) as demo:
2191
  title = gr.HTML("""<h1>FLUX LoRA DLC🥳</h1>""", elem_id="title",)
2192
  selected_index = gr.State(None)
2193
  with gr.Row():
 
2255
  outputs=[result, seed, progress_bar]
2256
  )
2257
 
2258
+ demo.queue()
2259
+ demo.launch(theme=steel_blue_theme, css=css, mcp_server=True, ssr_mode=False, show_error=True)