linoyts HF Staff commited on
Commit
c41048d
·
verified ·
1 Parent(s): 1f43858

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -203,6 +203,7 @@ pipe.transformer.__class__ = QwenImageTransformer2DModel
203
  pipe.transformer.set_attn_processor(QwenDoubleStreamAttnProcessorFA3())
204
 
205
  # --- Ahead-of-time compilation ---
 
206
 
207
  # --- UI Constants and Helpers ---
208
  MAX_SEED = np.iinfo(np.int32).max
 
203
  pipe.transformer.set_attn_processor(QwenDoubleStreamAttnProcessorFA3())
204
 
205
  # --- Ahead-of-time compilation ---
206
+ optimize_pipeline_(pipe, image=[Image.new("RGB", (1024, 1024)), Image.new("RGB", (1024, 1024))], prompt="prompt")
207
 
208
  # --- UI Constants and Helpers ---
209
  MAX_SEED = np.iinfo(np.int32).max