Spaces:
Sleeping
Sleeping
Create live_preview_helpers.py
Browse files- live_preview_helpers.py +3 -0
live_preview_helpers.py
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
def flux_pipe_call_that_returns_an_iterable_of_images(self, **kwargs):
|
| 2 |
+
image = self(**kwargs).images[0]
|
| 3 |
+
yield image
|