Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
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
|
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,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=[
|
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(
|