Yaron Koresh commited on
Commit
eee0dae
·
verified ·
1 Parent(s): 302c3d1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -439,8 +439,8 @@ base = "black-forest-labs/FLUX.1-schnell"
439
  # precision data
440
 
441
  seq=256
442
- width=768
443
- height=768
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=16,
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
  )