Spaces:
Running
Running
Update app.py
#1
by
M38di
- opened
app.py
CHANGED
@@ -19,8 +19,8 @@ def generate_image(api_key, prompt):
|
|
19 |
response = client.images.generate(
|
20 |
prompt=prompt,
|
21 |
model="black-forest-labs/FLUX.1.1-pro",
|
22 |
-
width=
|
23 |
-
height=
|
24 |
steps=1,
|
25 |
n=1,
|
26 |
response_format="b64_json"
|
|
|
19 |
response = client.images.generate(
|
20 |
prompt=prompt,
|
21 |
model="black-forest-labs/FLUX.1.1-pro",
|
22 |
+
width=2048,
|
23 |
+
height=1440,
|
24 |
steps=1,
|
25 |
n=1,
|
26 |
response_format="b64_json"
|