hanzla commited on
Commit
98be4cd
·
1 Parent(s): 73979b7

sliders added

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -74,7 +74,7 @@ iface = gr.Interface(
74
  theme=gr.themes.Soft(primary_hue="emerald", secondary_hue="teal"),
75
  fn=generate_video,
76
  inputs=[
77
- gr.Textbox(label="Enter your prompt"),
78
  gr.Textbox(label="Negative Prompt"),
79
  gr.Slider(minimum=0.5, maximum=10, value=7.5, label="Guidance Scale"),
80
  gr.Slider(minimum=4, maximum=24, step=4, value=4, label="Inference Steps"),
@@ -82,8 +82,8 @@ iface = gr.Interface(
82
  ],
83
  outputs=gr.Video(label="Generated Video"),
84
  examples = [
85
- ["a cat playing with a ball of yarn", "blurry", 7.5, 12, ["zoom-in"]],
86
- ["a dog running in a field", "dark, indoors", 8.0, 8, ["pan-left", "tilt-up"]],
87
  ]
88
  )
89
 
 
74
  theme=gr.themes.Soft(primary_hue="emerald", secondary_hue="teal"),
75
  fn=generate_video,
76
  inputs=[
77
+ gr.Textbox(label="Prompt"),
78
  gr.Textbox(label="Negative Prompt"),
79
  gr.Slider(minimum=0.5, maximum=10, value=7.5, label="Guidance Scale"),
80
  gr.Slider(minimum=4, maximum=24, step=4, value=4, label="Inference Steps"),
 
82
  ],
83
  outputs=gr.Video(label="Generated Video"),
84
  examples = [
85
+ ["a cat playing with a ball of yarn", "blurry", 7.5, 16, []],
86
+ ["a dog running in a field", "dark, indoors", 8.0, 16, ["pan-left", "tilt-up"]],
87
  ]
88
  )
89