Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -148,8 +148,8 @@ def infer(input_image, prompt, illumination_dropdown, direction_dropdown, seed=4
|
|
148 |
progress (gr.Progress): A Gradio progress tracker for the UI.
|
149 |
|
150 |
Returns:
|
151 |
-
tuple[PIL.Image.Image, int, str]: A tuple containing:
|
152 |
-
-
|
153 |
- The seed used for the generation.
|
154 |
- The final constructed prompt string used by the model.
|
155 |
|
|
|
148 |
progress (gr.Progress): A Gradio progress tracker for the UI.
|
149 |
|
150 |
Returns:
|
151 |
+
tuple[list[PIL.Image.Image], int, str]: A tuple containing:
|
152 |
+
- A list with the input image (image[0]) and the relighted output image (image[1]).
|
153 |
- The seed used for the generation.
|
154 |
- The final constructed prompt string used by the model.
|
155 |
|