Spaces:
Running
on
Zero
Running
on
Zero
kaytoo2022
commited on
Update app.py
Browse files
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/bella-bella-bella-flux"
|
17 |
-
trigger_word = "
|
18 |
pipe.load_lora_weights(lora_repo)
|
19 |
|
20 |
# lora_ghibli = 'alvarobartt/ghibli-characters-flux-lora'
|
@@ -57,8 +57,8 @@ def run_lora(prompt, cfg_scale, steps, randomize_seed, seed, width, height, lora
|
|
57 |
yield image, seed
|
58 |
|
59 |
# Example cached image and settings
|
60 |
-
example_image_path = "
|
61 |
-
example_prompt = """
|
62 |
example_cfg_scale = 3.2
|
63 |
example_steps = 32
|
64 |
example_width = 1152
|
|
|
14 |
pipe = DiffusionPipeline.from_pretrained(base_model, torch_dtype=torch.bfloat16)
|
15 |
|
16 |
lora_repo = "kaytoo2022/bella-bella-bella-flux"
|
17 |
+
trigger_word = "" # Leave trigger_word blank if not used.
|
18 |
pipe.load_lora_weights(lora_repo)
|
19 |
|
20 |
# lora_ghibli = 'alvarobartt/ghibli-characters-flux-lora'
|
|
|
57 |
yield image, seed
|
58 |
|
59 |
# Example cached image and settings
|
60 |
+
example_image_path = "bella_space.jpeg" # Replace with the actual path to the example image
|
61 |
+
example_prompt = """A portrait picture of b3lla dog in an astronaut outfit. Planets are visible in the background"""
|
62 |
example_cfg_scale = 3.2
|
63 |
example_steps = 32
|
64 |
example_width = 1152
|