Spaces:
Sleeping
Sleeping
Yaron Koresh
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -439,8 +439,8 @@ base = "black-forest-labs/FLUX.1-schnell"
|
|
439 |
# precision data
|
440 |
|
441 |
seq=256
|
442 |
-
width=
|
443 |
-
height=
|
444 |
image_steps=8
|
445 |
img_accu=0
|
446 |
|
@@ -566,7 +566,7 @@ def _summarize(text):
|
|
566 |
gen = model.generate(
|
567 |
toks,
|
568 |
length_penalty=0.1,
|
569 |
-
num_beams=
|
570 |
early_stopping=True,
|
571 |
max_length=512
|
572 |
)
|
|
|
439 |
# precision data
|
440 |
|
441 |
seq=256
|
442 |
+
width=1536
|
443 |
+
height=1536
|
444 |
image_steps=8
|
445 |
img_accu=0
|
446 |
|
|
|
566 |
gen = model.generate(
|
567 |
toks,
|
568 |
length_penalty=0.1,
|
569 |
+
num_beams=8,
|
570 |
early_stopping=True,
|
571 |
max_length=512
|
572 |
)
|