Update app.py
Browse files13 unmodified lines1415161718192021222313 unmodified lines)# Projection 896 -> 2048 pour FLUX.1-Schnellproj_tokens = nn.Linear(896, 2048)# Projection pooled 2048 -> 768 (obligatoire pour Schnell)proj_pooled = nn.Linear(2048, 768)def encode(prompt: str):if not prompt or prompt.strip() == "":13 unmodified lines1415161718192021222313 unmodified lines)# Projection 896 -> 2048 pour FLUX.1-Schnellproj_tokens = nn.Linear(896, 3072)# Projection pooled 2048 -> 768 (obligatoire pour Schnell)proj_pooled = nn.Linear(3072, 768)def encode(prompt: str):if not prompt or prompt.strip() == "":
app.py+2-2