Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -34,7 +34,7 @@ def infer(prompt, seed=42, randomize_seed=False, width=1024, height=1024, guidan
|
|
34 |
max_sequence_length=512,
|
35 |
generator=torch.Generator("cpu").manual_seed(0)
|
36 |
).images[0]
|
37 |
-
return image
|
38 |
# for img in pipe.flux_pipe_call_that_returns_an_iterable_of_images(
|
39 |
# prompt=prompt,
|
40 |
# guidance_scale=guidance_scale,
|
|
|
34 |
max_sequence_length=512,
|
35 |
generator=torch.Generator("cpu").manual_seed(0)
|
36 |
).images[0]
|
37 |
+
return image,seed
|
38 |
# for img in pipe.flux_pipe_call_that_returns_an_iterable_of_images(
|
39 |
# prompt=prompt,
|
40 |
# guidance_scale=guidance_scale,
|