Yaron Koresh commited on
Commit
9ed605b
·
verified ·
1 Parent(s): e8b1477

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +11 -11
app.py CHANGED
@@ -254,32 +254,32 @@ def ui():
254
  with gr.Row():
255
  prompt = gr.Textbox(
256
  elem_id="prompt",
257
- placeholder="INCLUDE",
258
  container=False,
259
  max_lines=1
260
  )
261
- with gr.Row():
262
  prompt2 = gr.Textbox(
263
  elem_id="prompt2",
264
  placeholder="EXCLUDE",
265
  container=False,
266
  max_lines=1
267
  )
268
- with gr.Row():
269
  motion = gr.Dropdown(
270
  label='CAMERA',
271
  show_label=True,
272
  container=True,
273
  choices=[
274
  ("(No Effect)", ""),
275
- ("Zoom in", "guoyww/animatediff-motion-lora-zoom-in"),
276
- ("Zoom out", "guoyww/animatediff-motion-lora-zoom-out"),
277
- ("Tilt up", "guoyww/animatediff-motion-lora-tilt-up"),
278
- ("Tilt down", "guoyww/animatediff-motion-lora-tilt-down"),
279
- ("Pan left", "guoyww/animatediff-motion-lora-pan-left"),
280
- ("Pan right", "guoyww/animatediff-motion-lora-pan-right"),
281
- ("Roll left", "guoyww/animatediff-motion-lora-rolling-anticlockwise"),
282
- ("Roll right", "guoyww/animatediff-motion-lora-rolling-clockwise"),
283
  ],
284
  value="",
285
  interactive=True
 
254
  with gr.Row():
255
  prompt = gr.Textbox(
256
  elem_id="prompt",
257
+ placeholder="PROMPT",
258
  container=False,
259
  max_lines=1
260
  )
261
+ with gr.Row(visible=False):
262
  prompt2 = gr.Textbox(
263
  elem_id="prompt2",
264
  placeholder="EXCLUDE",
265
  container=False,
266
  max_lines=1
267
  )
268
+ with gr.Row(visible=False):
269
  motion = gr.Dropdown(
270
  label='CAMERA',
271
  show_label=True,
272
  container=True,
273
  choices=[
274
  ("(No Effect)", ""),
275
+ ("Zoom in", "guoyww/#animatediff-motion-lora-zoom-in"),
276
+ ("Zoom out", "guoyww/#animatediff-motion-lora-zoom-out"),
277
+ ("Tilt up", "guoyww/#animatediff-motion-lora-tilt-up"),
278
+ ("Tilt down", "guoyww/#animatediff-motion-lora-tilt-down"),
279
+ ("Pan left", "guoyww/#animatediff-motion-lora-pan-left"),
280
+ ("Pan right", "guoyww/#animatediff-motion-lora-pan-right"),
281
+ ("Roll left", "guoyww/#animatediff-motion-lora-rolling-anticlockwise"),
282
+ ("Roll right", "guoyww/#animatediff-motion-lora-rolling-clockwise"),
283
  ],
284
  value="",
285
  interactive=True