Spaces:
Running
on
Zero
Running
on
Zero
Update feifeilib/feifeifluxapi.py
Browse files
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
|