wsj1995 commited on
Commit
5eb4b53
·
verified ·
1 Parent(s): 460c461

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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,