aifeifei798 commited on
Commit
96ba1d5
·
verified ·
1 Parent(s): 3cb8927

Update feifeilib/feifeifluxapi.py

Browse files
Files changed (1) hide show
  1. feifeilib/feifeifluxapi.py +1 -5
feifeilib/feifeifluxapi.py CHANGED
@@ -8,11 +8,7 @@ def feifeifluxapi(prompt, height=1152, width=896, guidance_scale=3.5):
8
  # output is a PIL.Image object
9
  result = client.text_to_image(
10
  prompt=prompt,
11
- seed=0,
12
- randomize_seed=True,
13
  width=width,
14
- height=height,
15
- num_inference_steps=6,
16
- guidance_scale=guidance_scale
17
  )
18
  return result
 
8
  # output is a PIL.Image object
9
  result = client.text_to_image(
10
  prompt=prompt,
 
 
11
  width=width,
12
+ height=height
 
 
13
  )
14
  return result