Yanzuo commited on
Commit
016778b
1 Parent(s): 1b0733f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -3
app.py CHANGED
@@ -39,8 +39,8 @@ with gr.Blocks(theme=gr.themes.Soft()) as demo:
39
  gr.Markdown(
40
  """
41
  <div style="text-align: center; max-width: 650px; margin: 0 auto;">
42
- <h1 style="font-size: 2.5rem; font-weight: 700; margin-bottom: 1rem;">FLUX Image Generator</h1>
43
- <p style="font-size: 1rem; margin-bottom: 1.5rem;">Create unique images with AI. Just describe what you want to see!</p>
44
  </div>
45
  """
46
  )
@@ -92,7 +92,8 @@ with gr.Blocks(theme=gr.themes.Soft()) as demo:
92
  num_inference_steps=int(steps),
93
  guidance_scale=float(scales),
94
  height=int(height),
95
- width=int(width)
 
96
  ).images[0]
97
 
98
  generate_btn.click(
 
39
  gr.Markdown(
40
  """
41
  <div style="text-align: center; max-width: 650px; margin: 0 auto;">
42
+ <h1 style="font-size: 2.5rem; font-weight: 700; margin-bottom: 1rem; display: contents;">Hyper-FLUX-8steps-LoRA</h1>
43
+ <p style="font-size: 1rem; margin-bottom: 1.5rem;">AutoML team from ByteDance</p>
44
  </div>
45
  """
46
  )
 
92
  num_inference_steps=int(steps),
93
  guidance_scale=float(scales),
94
  height=int(height),
95
+ width=int(width),
96
+ max_sequence_length=256
97
  ).images[0]
98
 
99
  generate_btn.click(