Spaces:
Sleeping
Sleeping
upd
Browse files
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
|
| 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)
|