mr2along commited on
Commit
fd52d63
·
verified ·
1 Parent(s): c76ec70

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -13,11 +13,11 @@ device = "cuda" if torch.cuda.is_available() else "cpu"
13
  MAX_SEED = np.iinfo(np.int32).max
14
 
15
  # Model repository ID for 9B distilled
16
- REPO_ID_DISTILLED = "black-forest-labs/FLUX.2-klein-9B"
17
 
18
  # LoRA repository and file
19
  LORA_REPO_ID = "mr2along/BFS"
20
- LORA_FILENAME = "bfs_head_v1_flux-klein_9b_step3750_rank64.safetensors"
21
 
22
  # Fixed prompt for face swapping
23
  #FACE_SWAP_PROMPT = "head_swap: start with Picture 1 as the base image, keeping its lighting, environment, and background. remove the head from Picture 1 completely and replace it with the head from Picture 2, strictly preserving the hair, eye color, nose structure of Picture 2. copy the direction of the eye, head rotation, micro expressions from Picture 1, high quality, sharp details, 4k."
 
13
  MAX_SEED = np.iinfo(np.int32).max
14
 
15
  # Model repository ID for 9B distilled
16
+ REPO_ID_DISTILLED = "black-forest-labs/FLUX.2-klein-4B"
17
 
18
  # LoRA repository and file
19
  LORA_REPO_ID = "mr2along/BFS"
20
+ LORA_FILENAME = "bfs_head_v1_flux-klein_4b.safetensors"
21
 
22
  # Fixed prompt for face swapping
23
  #FACE_SWAP_PROMPT = "head_swap: start with Picture 1 as the base image, keeping its lighting, environment, and background. remove the head from Picture 1 completely and replace it with the head from Picture 2, strictly preserving the hair, eye color, nose structure of Picture 2. copy the direction of the eye, head rotation, micro expressions from Picture 1, high quality, sharp details, 4k."