Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -25,12 +25,12 @@ pipe.to(DEVICE)
|
|
25 |
|
26 |
def get_examples():
|
27 |
case = [
|
28 |
-
[Image.open("metal.png"),"dragon.png", "a dragon, in 3d melting gold metal",0.9, 0.5, 0, 5, 28, 28, 0, False,False, 2, False ],
|
29 |
-
[Image.open("doll.png"),"anime.png", "anime illustration",0.9, 0.5, 0, 6, 28, 28, 0, False, False, 2, False ],
|
30 |
-
[Image.open("doll.png"), "raccoon.png", "raccoon, made of yarn",0.9, 0.5, 0, 4, 28, 28, 0, False, False, 2, False ],
|
31 |
-
[Image.open("cat.jpg"),"parrot.png", "a parrot", 0.9 ,0.5,2, 8,28, 28,0, False , False, 1, False],
|
32 |
-
[Image.open("cat.jpg"),"tiger.png", "a tiger", 0.9 ,0.5,0, 4,8, 8,789385745, False , False, 1, True],
|
33 |
-
[Image.open("metal.png"), "dragon.png","a dragon, in 3d melting gold metal",0.9, 0.5, 0, 4, 8, 8, 789385745, False,True, 2, True ],
|
34 |
]
|
35 |
return case
|
36 |
|
@@ -268,7 +268,7 @@ based on the implementations of [@raven38](https://github.com/raven38) & [@DarkM
|
|
268 |
|
269 |
gr.Examples(
|
270 |
examples=get_examples(),
|
271 |
-
inputs=[input_image,result, prompt,eta,gamma,start_timestep, stop_timestep, num_inversion_steps, num_inference_steps, seed, randomize_seed, eta_decay, decay_power, enable_hyper_flux ],
|
272 |
outputs=[result],
|
273 |
|
274 |
)
|
|
|
25 |
|
26 |
def get_examples():
|
27 |
case = [
|
28 |
+
[Image.open("metal.png"),"dragon.png", "a dragon, in 3d melting gold metal",0.9, 0.5, 0, 5, 28, 28, 0, False,False, 2, False, "text/image guided stylzation" ],
|
29 |
+
[Image.open("doll.png"),"anime.png", "anime illustration",0.9, 0.5, 0, 6, 28, 28, 0, False, False, 2, False,"text/image guided stylzation" ],
|
30 |
+
[Image.open("doll.png"), "raccoon.png", "raccoon, made of yarn",0.9, 0.5, 0, 4, 28, 28, 0, False, False, 2, False, "local subject edits" ],
|
31 |
+
[Image.open("cat.jpg"),"parrot.png", "a parrot", 0.9 ,0.5,2, 8,28, 28,0, False , False, 1, False, "local subject edits"],
|
32 |
+
[Image.open("cat.jpg"),"tiger.png", "a tiger", 0.9 ,0.5,0, 4,8, 8,789385745, False , False, 1, True, "local subject edits"],
|
33 |
+
[Image.open("metal.png"), "dragon.png","a dragon, in 3d melting gold metal",0.9, 0.5, 0, 4, 8, 8, 789385745, False,True, 2, True , "text/image guided stylzation"],
|
34 |
]
|
35 |
return case
|
36 |
|
|
|
268 |
|
269 |
gr.Examples(
|
270 |
examples=get_examples(),
|
271 |
+
inputs=[input_image,result, prompt,eta,gamma,start_timestep, stop_timestep, num_inversion_steps, num_inference_steps, seed, randomize_seed, eta_decay, decay_power, enable_hyper_flux,stylezation ],
|
272 |
outputs=[result],
|
273 |
|
274 |
)
|