AlekseyCalvin commited on
Commit
8c6d304
·
verified ·
1 Parent(s): 385e25c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -81,18 +81,18 @@ with gr.Blocks(theme=gr.themes.Soft()) as demo:
81
  with gr.Row():
82
  steps = gr.Slider(1, 50, value=6, step=1, label="Steps")
83
  cfg = gr.Slider(0.0, 20.0, value=0.5, step=0.1, label="CFG Scale (0-2 for Turbo/XS/LCM)")
84
- cadence = gr.Slider(1, 8, value=3, step=1, label="Diffusion Cadence")
85
 
86
  with gr.Accordion("🎬 Motion & Coherence", open=True):
87
  with gr.Row():
88
  color = gr.Dropdown(label="Color Match", value="LAB", choices=["None", "LAB", "HSV", "RGB"])
89
  border = gr.Dropdown(label="Border Mode", value="Replicate", choices=["Reflect", "Replicate", "Wrap", "Black"])
90
 
91
- z = gr.Textbox(label="Zoom", value="0:(0), 2:(-0.9), 6:(0.9), 10:(-0.9), 14:(0), 20:(1), 30:(-1), 40:(0), 50:(2), 60:(-2), 70:(4), 80:(-5)")
92
  a = gr.Textbox(label="Angle", value="0:(0), 2:(-0.9), 6:(0.9), 10:(-0.9), 14:(0), 20:(1), 30:(-1), 40:(0), 50:(2), 60:(-2), 70:(4)")
93
  tx = gr.Textbox(label="Translation X", value="0:(-.9), 18:(.8), 30:(-.9), 50:(1.5), 64:(-2)")
94
  ty = gr.Textbox(label="Translation Y", value="0:(-.1), 10:(.1), 20:(-.3), 30:(.3), 20:(-.4), 30:(.4), 40:(-.5), 50:(.5), 60:(-.6), 70:(.6)")
95
- stre = gr.Textbox(label="Strength", value="0:(.75), 6:(0.25), 10:(0.45), 16:(0.71), 20:(0.23), 30: (0.39), 34:(0.71), 36:(0.25), 44:(.39), 48:(0.72), 50:(0.25), 56:(0.39), 62:(0.75), 64:(0.3), 68:(0.4), 72:(0.75), 76:(0.55)")
96
  noi = gr.Textbox(label="Noise Injection", value="0:(0.06), 20:(0.06), 30:(0.12), 40:(0.04), 60:(0.03), 76:(0.05)")
97
 
98
  with gr.Row():
 
81
  with gr.Row():
82
  steps = gr.Slider(1, 50, value=6, step=1, label="Steps")
83
  cfg = gr.Slider(0.0, 20.0, value=0.5, step=0.1, label="CFG Scale (0-2 for Turbo/XS/LCM)")
84
+ cadence = gr.Slider(1, 8, value=2, step=1, label="Diffusion Cadence")
85
 
86
  with gr.Accordion("🎬 Motion & Coherence", open=True):
87
  with gr.Row():
88
  color = gr.Dropdown(label="Color Match", value="LAB", choices=["None", "LAB", "HSV", "RGB"])
89
  border = gr.Dropdown(label="Border Mode", value="Replicate", choices=["Reflect", "Replicate", "Wrap", "Black"])
90
 
91
+ z = gr.Textbox(label="Zoom", value="0:(1.00), 6:(1.00), 16:(.985), 26:(1.02), 45:(1.00), 60:(0.975), 70:(1.05)")
92
  a = gr.Textbox(label="Angle", value="0:(0), 2:(-0.9), 6:(0.9), 10:(-0.9), 14:(0), 20:(1), 30:(-1), 40:(0), 50:(2), 60:(-2), 70:(4)")
93
  tx = gr.Textbox(label="Translation X", value="0:(-.9), 18:(.8), 30:(-.9), 50:(1.5), 64:(-2)")
94
  ty = gr.Textbox(label="Translation Y", value="0:(-.1), 10:(.1), 20:(-.3), 30:(.3), 20:(-.4), 30:(.4), 40:(-.5), 50:(.5), 60:(-.6), 70:(.6)")
95
+ stre = gr.Textbox(label="Strength", value="0:(.75), 4:(0.25), 10:(0.45), 16:(0.71), 20:(0.23), 30: (0.39), 34:(0.71), 36:(0.25), 44:(.39), 48:(0.72), 50:(0.25), 56:(0.39), 62:(0.75), 64:(0.3), 68:(0.4), 72:(0.75), 76:(0.55)")
96
  noi = gr.Textbox(label="Noise Injection", value="0:(0.06), 20:(0.06), 30:(0.12), 40:(0.04), 60:(0.03), 76:(0.05)")
97
 
98
  with gr.Row():