ruizhaocv commited on
Commit
356b2c7
1 Parent(s): 93800e2

Upload app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -4
app.py CHANGED
@@ -72,11 +72,11 @@ with gr.Blocks() as demo:
72
  "3-4: [Sports Concepts] -- Playing Golf",
73
  "3-5: [Sports Concepts] -- Skateboarding",
74
  ],
75
- label="MotionDirector",
76
  info="Which MotionDirector would you like to use!"
77
  )
78
 
79
- text_pormpt = gr.Textbox(label="Text Prompt", value='', placeholder="Input your text prompt here!")
80
  neg_text_pormpt = gr.Textbox(label="Negative Text Prompt", value='', placeholder="default: None")
81
 
82
  submit = gr.Button("Generate")
@@ -88,18 +88,19 @@ with gr.Blocks() as demo:
88
  [generated_video, generated_video_baseline]
89
  )
90
 
 
91
  # Examples
92
  gr.Markdown("## Examples")
93
  gr.Examples(
94
  fn=motiondirector,
95
  examples=[
96
  ["1-1: [Cinematic Shots] -- Zoom Out", "A spaceman standing on the moon captured with a zoom out.",
97
- 8323920],
98
  ["1-2: [Cinematic Shots] -- Zoom In", "A polar bear standing at the top of a snowy mountain captured with a zoom in.", 7938587],
99
  ["1-3: [Cinematic Shots] -- Dolly Zoom (Hitchcockian Zoom) 1", "A panda standing in front of an ancient Chinese temple captured with a dolly zoom.", 8238823],
100
  ["1-4: [Cinematic Shots] -- Dolly Zoom (Hitchcockian Zoom) 2", "A lion sitting on top of a cliff captured with a dolly zoom.", 1675932],
101
  ["1-5: [Cinematic Shots] -- Follow", "A fireman is walking through fire captured with a follow cinematic shot.", 2927089],
102
- ["1-6: [Cinematic Shots] -- Reverse Follow", "A fireman is walking through fire captured with a reverse follow cinematic shot.", 9759630],
103
  ["1-7: [Cinematic Shots] -- Chest Transition", "An ancient Roman soldier walks through the crowd on the street captured with a chest transition cinematic shot.", 3982271],
104
  ["1-8: [Cinematic Shots] -- Mini Jib Reveal",
105
  "A British Redcoat soldier is walking through the mountains captured with a mini jib reveal cinematic shot.",
 
72
  "3-4: [Sports Concepts] -- Playing Golf",
73
  "3-5: [Sports Concepts] -- Skateboarding",
74
  ],
75
+ label="Select MotionDirector *",
76
  info="Which MotionDirector would you like to use!"
77
  )
78
 
79
+ text_pormpt = gr.Textbox(label="Text Prompt *", value='', placeholder="Input your text prompt here!")
80
  neg_text_pormpt = gr.Textbox(label="Negative Text Prompt", value='', placeholder="default: None")
81
 
82
  submit = gr.Button("Generate")
 
88
  [generated_video, generated_video_baseline]
89
  )
90
 
91
+ gr.Markdown("Note: * denotes required field. Tips: More detailed text prompt is helpful for generating better results.")
92
  # Examples
93
  gr.Markdown("## Examples")
94
  gr.Examples(
95
  fn=motiondirector,
96
  examples=[
97
  ["1-1: [Cinematic Shots] -- Zoom Out", "A spaceman standing on the moon captured with a zoom out.",
98
+ 5894219],
99
  ["1-2: [Cinematic Shots] -- Zoom In", "A polar bear standing at the top of a snowy mountain captured with a zoom in.", 7938587],
100
  ["1-3: [Cinematic Shots] -- Dolly Zoom (Hitchcockian Zoom) 1", "A panda standing in front of an ancient Chinese temple captured with a dolly zoom.", 8238823],
101
  ["1-4: [Cinematic Shots] -- Dolly Zoom (Hitchcockian Zoom) 2", "A lion sitting on top of a cliff captured with a dolly zoom.", 1675932],
102
  ["1-5: [Cinematic Shots] -- Follow", "A fireman is walking through fire captured with a follow cinematic shot.", 2927089],
103
+ ["1-6: [Cinematic Shots] -- Reverse Follow", "A fireman is walking through fire captured with a reverse follow cinematic shot.", 271723],
104
  ["1-7: [Cinematic Shots] -- Chest Transition", "An ancient Roman soldier walks through the crowd on the street captured with a chest transition cinematic shot.", 3982271],
105
  ["1-8: [Cinematic Shots] -- Mini Jib Reveal",
106
  "A British Redcoat soldier is walking through the mountains captured with a mini jib reveal cinematic shot.",