linoyts HF staff commited on
Commit
8dbe886
·
verified ·
1 Parent(s): 7af5355

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +7 -7
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,"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
 
@@ -143,7 +143,7 @@ based on the implementations of [@raven38](https://github.com/raven38) & [@DarkM
143
  placeholder="describe the edited output",
144
  )
145
  with gr.Row():
146
- enable_hyper_flux = gr.Checkbox(label="8-step LoRA", value=False, info="")
147
  stylezation = gr.Checkbox(label="stylzation")
148
  with gr.Row():
149
  start_timestep = gr.Slider(
 
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
 
 
143
  placeholder="describe the edited output",
144
  )
145
  with gr.Row():
146
+ enable_hyper_flux = gr.Checkbox(label="8-step LoRA", value=False, info="may reduce edit quality")
147
  stylezation = gr.Checkbox(label="stylzation")
148
  with gr.Row():
149
  start_timestep = gr.Slider(