besarismaili commited on
Commit
ebd0974
1 Parent(s): b8bc11b
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -126,7 +126,7 @@ with gr.Blocks() as demo:
126
  s_promt = gr.Textbox(label="Second Prompt", value="a photo of a cute dog")
127
  stability_key = gr.Textbox(label="Stability Key", value="")
128
 
129
- with gr.Accordion():
130
  width = gr.Slider(minimum=100, maximum=1000, value=512, label="Width")
131
  height = gr.Slider(minimum=100, maximum=1000, value=512, label="Height")
132
  sampler = gr.Dropdown(choices=['K_dpmpp_2m'], value='K_dpmpp_2m', label="Sampler")
@@ -143,7 +143,7 @@ with gr.Blocks() as demo:
143
  preset = gr.Dropdown(value="cinematic", label="Preset", choices=["None", "3d-model", "analog-film", "anime", "cinematic"])
144
 
145
  animation_mode = gr.Dropdown(choices=['3D warp'], value='3D warp', label="Animation Mode")
146
- max_frames = gr.Slider(minimum=1, maximum=100, value=72, label="Max Frames")
147
  border = gr.Dropdown(choices=['replicate'], value='replicate', label="Border")
148
  noise_add_curve = gr.Textbox(value="0:(0.02)", label="Noise Add Curve")
149
  noise_scale_curve = gr.Textbox(value="0:(0.99)", label="Noise Scale Curve")
 
126
  s_promt = gr.Textbox(label="Second Prompt", value="a photo of a cute dog")
127
  stability_key = gr.Textbox(label="Stability Key", value="")
128
 
129
+ with gr.Accordion(open=False):
130
  width = gr.Slider(minimum=100, maximum=1000, value=512, label="Width")
131
  height = gr.Slider(minimum=100, maximum=1000, value=512, label="Height")
132
  sampler = gr.Dropdown(choices=['K_dpmpp_2m'], value='K_dpmpp_2m', label="Sampler")
 
143
  preset = gr.Dropdown(value="cinematic", label="Preset", choices=["None", "3d-model", "analog-film", "anime", "cinematic"])
144
 
145
  animation_mode = gr.Dropdown(choices=['3D warp'], value='3D warp', label="Animation Mode")
146
+ max_frames = gr.Slider(minimum=1, maximum=100, value=5, label="Max Frames")
147
  border = gr.Dropdown(choices=['replicate'], value='replicate', label="Border")
148
  noise_add_curve = gr.Textbox(value="0:(0.02)", label="Noise Add Curve")
149
  noise_scale_curve = gr.Textbox(value="0:(0.99)", label="Noise Scale Curve")