gokaygokay commited on
Commit
44d2484
·
1 Parent(s): 01a11d2
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -27,7 +27,7 @@ pipe.flux_pipe_call_that_returns_an_iterable_of_images = flux_pipe_call_that_ret
27
  print('Loading and fusing lora, please wait...')
28
  lora_path = hf_hub_download("gokaygokay/Flux-Game-Assets-LoRA-v2", "game_asst.safetensors")
29
  pipe.load_lora_weights(lora_path)
30
- pipe.fuse_lora(lora_scale=1.0)
31
  pipe.unload_lora_weights()
32
  pipe.transformer.to(device, dtype=torch.bfloat16)
33
 
@@ -50,9 +50,9 @@ def infer(prompt, seed=42, randomize_seed=False, width=1024, height=1024, guidan
50
  yield img, seed
51
 
52
  examples = [
53
- "a tiny astronaut hatching from an egg on the moon",
54
- "a cat holding a sign that says hello world",
55
- "an anime illustration of a wiener schnitzel",
56
  ]
57
 
58
  css="""
 
27
  print('Loading and fusing lora, please wait...')
28
  lora_path = hf_hub_download("gokaygokay/Flux-Game-Assets-LoRA-v2", "game_asst.safetensors")
29
  pipe.load_lora_weights(lora_path)
30
+ pipe.fuse_lora(lora_scale=0.125)
31
  pipe.unload_lora_weights()
32
  pipe.transformer.to(device, dtype=torch.bfloat16)
33
 
 
50
  yield img, seed
51
 
52
  examples = [
53
+ "wbgmsst, a cat, white background",
54
+ "wbgmsst, a warrior, white background",
55
+ "wbgmsst, an anime girl, white background",
56
  ]
57
 
58
  css="""