linoyts HF staff commited on
Commit
7c29873
·
verified ·
1 Parent(s): f20f8e8

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -46,12 +46,12 @@ def resize_img(image, max_size=1024):
46
 
47
  def check_style(stylezation, enable_hyper_flux):
48
  if stylezation:
49
- return 0.9, 0.5, 0, 6, 28, 28, False,False
50
  else:
51
  if enable_hyper_flux:
52
- return 0.9, 0.5, 0, 4, 8, 8, False,False
53
  else:
54
- return 0.9, 0.5, 2, 7, 28, 28, False,False
55
 
56
  def check_hyper_flux_lora(enable_hyper_flux):
57
  if enable_hyper_flux:
@@ -291,7 +291,7 @@ based on the implementations of [@raven38](https://github.com/raven38) & [@DarkM
291
  stylezation.change(
292
  fn=check_style,
293
  inputs=[stylezation],
294
- outputs=[eta_decay, decay_power]
295
  )
296
 
297
  enable_hyper_flux.change(
 
46
 
47
  def check_style(stylezation, enable_hyper_flux):
48
  if stylezation:
49
+ return 0.9, 0.5, 0, 6, 28, 28, False
50
  else:
51
  if enable_hyper_flux:
52
+ return 0.9, 0.5, 0, 4, 8, 8, False
53
  else:
54
+ return 0.9, 0.5, 2, 7, 28, 28, False
55
 
56
  def check_hyper_flux_lora(enable_hyper_flux):
57
  if enable_hyper_flux:
 
291
  stylezation.change(
292
  fn=check_style,
293
  inputs=[stylezation],
294
+ outputs=[eta, gamma, start_timestep, stop_timestep, num_inversion_steps, num_inference_steps, eta_decay]
295
  )
296
 
297
  enable_hyper_flux.change(