Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -24,7 +24,9 @@ pipe = DiffusionPipeline.from_pretrained("black-forest-labs/FLUX.1-dev",
|
|
24 |
pipe.to(DEVICE)
|
25 |
|
26 |
examples = [[Image.open("cat.jpg"), "a tiger", 0.9,0.5,0, 4,8, 8,789385745, False , False, 1, True],
|
27 |
-
[Image.open("metal.png"), "a dragon, 3d melting gold metal",0.9, 0.5, 0, 4, 8, 8, 789385745, False,True, 2, True ]
|
|
|
|
|
28 |
def reset_do_inversion():
|
29 |
return True
|
30 |
|
@@ -131,7 +133,7 @@ based on the implementations of [@raven38](https://github.com/raven38) & [@DarkM
|
|
131 |
placeholder="describe the edited output",
|
132 |
)
|
133 |
with gr.Row():
|
134 |
-
enable_hyper_flux = gr.Checkbox(label="8-step LoRA", value=
|
135 |
stylezation = gr.Checkbox(label="stylzation")
|
136 |
with gr.Row():
|
137 |
start_timestep = gr.Slider(
|
|
|
24 |
pipe.to(DEVICE)
|
25 |
|
26 |
examples = [[Image.open("cat.jpg"), "a tiger", 0.9,0.5,0, 4,8, 8,789385745, False , False, 1, True],
|
27 |
+
[Image.open("metal.png"), "a dragon, 3d melting gold metal",0.9, 0.5, 0, 4, 8, 8, 789385745, False,True, 2, True ],
|
28 |
+
[Image.open("doll.png"), "anime illustration",0.9, 0.5, 0, 6, 28, 28, 0, False, False, 2, False ],
|
29 |
+
[Image.open("doll.png"), "raccoon, made of yarn",0.9, 0.5, 0, 4, 28, 28, 0, False, False, 2, False ]]
|
30 |
def reset_do_inversion():
|
31 |
return True
|
32 |
|
|
|
133 |
placeholder="describe the edited output",
|
134 |
)
|
135 |
with gr.Row():
|
136 |
+
enable_hyper_flux = gr.Checkbox(label="8-step LoRA", value=False, info="")
|
137 |
stylezation = gr.Checkbox(label="stylzation")
|
138 |
with gr.Row():
|
139 |
start_timestep = gr.Slider(
|