oshita-n commited on
Commit
6438e34
·
1 Parent(s): 2def794
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -44,7 +44,7 @@ def process_image(input_image: Image.Image, to_grayscale: bool, prompt: str) ->
44
  num_inference_steps=20,
45
  )
46
 
47
- return image_grid(output.images, 1, 1)
48
 
49
  image_input = gr.components.Image(label="Input Image")
50
  grayscale_checkbox = gr.components.Checkbox(label="Convert output to grayscale", default=False)
 
44
  num_inference_steps=20,
45
  )
46
 
47
+ return output.images[0]
48
 
49
  image_input = gr.components.Image(label="Input Image")
50
  grayscale_checkbox = gr.components.Checkbox(label="Convert output to grayscale", default=False)