kaytoo2022 commited on
Commit
542c35b
·
verified ·
1 Parent(s): 7adf5eb

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -6
app.py CHANGED
@@ -14,7 +14,7 @@ base_model = "black-forest-labs/FLUX.1-dev"
14
  pipe = DiffusionPipeline.from_pretrained(base_model, torch_dtype=torch.bfloat16)
15
 
16
  lora_repo = "kaytoo2022/cara-the-cavapoo-flux"
17
- trigger_word = "" # Leave trigger_word blank if not used.
18
  pipe.load_lora_weights(lora_repo)
19
 
20
  pipe.to("cuda")
@@ -55,11 +55,7 @@ def run_lora(prompt, cfg_scale, steps, randomize_seed, seed, width, height, lora
55
 
56
  # Example cached image and settings
57
  example_image_path = "example0.webp" # Replace with the actual path to the example image
58
- example_prompt = """A Jelita Sukawati speaker is captured mid-speech. She has long, dark brown hair that cascades over her shoulders, framing her radiant, smiling face. Her Latina features are highlighted by warm, sun-kissed skin and bright, expressive eyes. She gestures with her left hand, displaying a delicate ring on her pinky finger, as she speaks passionately.
59
-
60
- The woman is wearing a colorful, patterned dress with a green lanyard featuring multiple badges and logos hanging around her neck. The lanyard prominently displays the "CagliostroLab" text.
61
-
62
- Behind her, there is a blurred background with a white banner containing logos and text, indicating a professional or conference setting. The overall scene captures the energy and vibrancy of her presentation."""
63
  example_cfg_scale = 3.2
64
  example_steps = 32
65
  example_width = 1152
 
14
  pipe = DiffusionPipeline.from_pretrained(base_model, torch_dtype=torch.bfloat16)
15
 
16
  lora_repo = "kaytoo2022/cara-the-cavapoo-flux"
17
+ trigger_word = "Cara the Cavapoo" # Leave trigger_word blank if not used.
18
  pipe.load_lora_weights(lora_repo)
19
 
20
  pipe.to("cuda")
 
55
 
56
  # Example cached image and settings
57
  example_image_path = "example0.webp" # Replace with the actual path to the example image
58
+ example_prompt = """Cara the Cavapoo showing off her cool new t shirt at the beach, a shark is jumping out of the water in the background"""
 
 
 
 
59
  example_cfg_scale = 3.2
60
  example_steps = 32
61
  example_width = 1152