VinayHajare commited on
Commit
7dd8aac
·
verified ·
1 Parent(s): d1fd670

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -36,12 +36,12 @@ with gr.Blocks(css=css) as app:
36
 
37
  with gr.Row():
38
  with gr.Column():
39
- image_output1 = gr.Image(type="pil", format = "png", label="Generated Image 1")
40
- image_output2 = gr.Image(type="pil", format = "png", label="Generated Image 2")
41
 
42
  with gr.Column():
43
- image_output3 = gr.Image(type="pil", format = "png", label="Generated Image 3")
44
- image_output4 = gr.Image(type="pil", format = "png", label="Generated Image 4")
45
 
46
  generate_button.click(generate_image_from_text, inputs=[text_prompt], outputs=[image_output1, image_output2, image_output3, image_output4])
47
 
 
36
 
37
  with gr.Row():
38
  with gr.Column():
39
+ image_output1 = gr.Image(type="pil", format = "jpeg", label="Generated Image 1")
40
+ image_output2 = gr.Image(type="pil", format = "jpeg", label="Generated Image 2")
41
 
42
  with gr.Column():
43
+ image_output3 = gr.Image(type="pil", format = "jpeg", label="Generated Image 3")
44
+ image_output4 = gr.Image(type="pil", format = "jpeg", label="Generated Image 4")
45
 
46
  generate_button.click(generate_image_from_text, inputs=[text_prompt], outputs=[image_output1, image_output2, image_output3, image_output4])
47