Set output image format to PNG for higher quality

#13
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -428,7 +428,8 @@ with gr.Blocks(css=css) as WeShop:
428
  type="pil",
429
  label="Result",
430
  elem_classes=["image-container", "hide-buttons"],
431
- interactive=False
 
432
  )
433
  with gr.Row():
434
  submit_button = gr.Button("Generate")
 
428
  type="pil",
429
  label="Result",
430
  elem_classes=["image-container", "hide-buttons"],
431
+ interactive=False,
432
+ format="png",
433
  )
434
  with gr.Row():
435
  submit_button = gr.Button("Generate")