prithivMLmods commited on
Commit
22ef061
·
verified ·
1 Parent(s): 7cb4b35

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -263,6 +263,7 @@ css = """
263
  border: 1px solid #ddd; /* Add subtle border to gallery images */
264
  border-radius: 4px;
265
  }
 
266
 
267
  title = """<h1 align="center">Diffusers Image Outpaint Lightning</h1>
268
  """
@@ -360,7 +361,7 @@ with gr.Blocks(css=css) as demo:
360
  )
361
 
362
  with gr.Column():
363
- result = gr.Image(label="Generated Image", type="pil")
364
  use_as_input_button = gr.Button("Use as Input Image", visible=False)
365
 
366
  history_gallery = gr.Gallery(label="History", columns=6, object_fit="contain", interactive=False)
 
263
  border: 1px solid #ddd; /* Add subtle border to gallery images */
264
  border-radius: 4px;
265
  }
266
+ """
267
 
268
  title = """<h1 align="center">Diffusers Image Outpaint Lightning</h1>
269
  """
 
361
  )
362
 
363
  with gr.Column():
364
+ result = gr.Image(label="Generated Image", format="png")
365
  use_as_input_button = gr.Button("Use as Input Image", visible=False)
366
 
367
  history_gallery = gr.Gallery(label="History", columns=6, object_fit="contain", interactive=False)