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"), "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 illustration",0.9, 0.5, 0, 6, 28, 28, 0, False, False, 2, False ,
|
30 |
-
[Image.open("doll.png"), "raccoon, made of yarn",0.9, 0.5, 0, 4, 28, 28, 0, False, False, 2, False ,
|
31 |
-
[Image.open("cat.jpg"), "a parrot", 0.9 ,0.5,2, 8,28, 28,0, False , False, 1, False,
|
32 |
-
[Image.open("cat.jpg"), "a tiger", 0.9 ,0.5,0, 4,8, 8,789385745, False , False, 1, True,
|
33 |
-
[Image.open("metal.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, 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"), "a dragon, in 3d melting gold metal",0.9, 0.5, 0, 5, 28, 28, 0, False,False, 2, False,"dragon.png" ],
|
29 |
+
[Image.open("doll.png"), "anime illustration",0.9, 0.5, 0, 6, 28, 28, 0, False, False, 2, False ,"anime.png"],
|
30 |
+
[Image.open("doll.png"), "raccoon, made of yarn",0.9, 0.5, 0, 4, 28, 28, 0, False, False, 2, False , "raccoon.png"],
|
31 |
+
[Image.open("cat.jpg"), "a parrot", 0.9 ,0.5,2, 8,28, 28,0, False , False, 1, False,"parrot.png"],
|
32 |
+
[Image.open("cat.jpg"), "a tiger", 0.9 ,0.5,0, 4,8, 8,789385745, False , False, 1, True,"tiger.png"],
|
33 |
+
[Image.open("metal.png"),"a dragon, in 3d melting gold metal",0.9, 0.5, 0, 4, 8, 8, 789385745, False,True, 2, True , "dragon.png"],
|
34 |
]
|
35 |
return case
|
36 |
|
|
|
268 |
|
269 |
gr.Examples(
|
270 |
examples=get_examples(),
|
271 |
+
inputs=[input_image, prompt,eta,gamma,start_timestep, stop_timestep, num_inversion_steps, num_inference_steps, seed, randomize_seed, eta_decay, decay_power, enable_hyper_flux,result ],
|
272 |
outputs=[result],
|
273 |
|
274 |
)
|