gokaygokay commited on
Commit
c1989e7
·
1 Parent(s): 0910455
Files changed (1) hide show
  1. app.py +27 -22
app.py CHANGED
@@ -21,20 +21,17 @@ def create_video_interface():
21
  label="Video Style"
22
  )
23
 
24
- camera_style = gr.Dropdown(
25
- choices=[
26
- "None",
27
- "Steadicam flow", "Drone aerials", "Handheld urgency", "Crane elegance",
28
- "Dolly precision", "VR 360", "Multi-angle rig", "Static tripod",
29
- "Gimbal smoothness", "Slider motion", "Jib sweep", "POV immersion",
30
- "Time-slice array", "Macro extreme", "Tilt-shift miniature",
31
- "Snorricam character", "Whip pan dynamics", "Dutch angle tension",
32
- "Underwater housing", "Periscope lens"
33
- ],
34
- value="None",
35
- label="Camera Movement Style"
36
- )
37
 
 
 
38
  camera_direction = gr.Dropdown(
39
  choices=[
40
  "None",
@@ -47,8 +44,21 @@ def create_video_interface():
47
  value="None",
48
  label="Camera Direction"
49
  )
50
-
51
- with gr.Column(scale=2):
 
 
 
 
 
 
 
 
 
 
 
 
 
52
  pacing = gr.Dropdown(
53
  choices=[
54
  "None",
@@ -76,8 +86,7 @@ def create_video_interface():
76
  value="None",
77
  label="SFX Approach"
78
  )
79
- custom_elements = gr.Textbox(label="Custom Technical Elements",
80
- placeholder="e.g., Infrared hybrid, Datamosh transitions")
81
 
82
  with gr.Row():
83
  custom_elements = gr.Textbox(label="Custom Elements", scale=3)
@@ -96,11 +105,7 @@ def create_video_interface():
96
  value="Meta-Llama-3.1-70B-Instruct",
97
  label="Model"
98
  )
99
- prompt_length = gr.Dropdown(
100
- choices=["Short", "Medium", "Long"],
101
- value="Medium",
102
- label="Prompt Length"
103
- )
104
 
105
  generate_btn = gr.Button("Generate Video Prompt", variant="primary")
106
  output = gr.Textbox(label="Generated Prompt", lines=12, show_copy_button=True)
 
21
  label="Video Style"
22
  )
23
 
24
+ custom_elements = gr.Textbox(label="Custom Technical Elements",
25
+ placeholder="e.g., Infrared hybrid, Datamosh transitions")
26
+
27
+ prompt_length = gr.Dropdown(
28
+ choices=["Short", "Medium", "Long"],
29
+ value="Medium",
30
+ label="Prompt Length"
31
+ )
 
 
 
 
 
32
 
33
+ with gr.Column(scale=2):
34
+
35
  camera_direction = gr.Dropdown(
36
  choices=[
37
  "None",
 
44
  value="None",
45
  label="Camera Direction"
46
  )
47
+
48
+ camera_style = gr.Dropdown(
49
+ choices=[
50
+ "None",
51
+ "Steadicam flow", "Drone aerials", "Handheld urgency", "Crane elegance",
52
+ "Dolly precision", "VR 360", "Multi-angle rig", "Static tripod",
53
+ "Gimbal smoothness", "Slider motion", "Jib sweep", "POV immersion",
54
+ "Time-slice array", "Macro extreme", "Tilt-shift miniature",
55
+ "Snorricam character", "Whip pan dynamics", "Dutch angle tension",
56
+ "Underwater housing", "Periscope lens"
57
+ ],
58
+ value="None",
59
+ label="Camera Movement Style"
60
+ )
61
+
62
  pacing = gr.Dropdown(
63
  choices=[
64
  "None",
 
86
  value="None",
87
  label="SFX Approach"
88
  )
89
+
 
90
 
91
  with gr.Row():
92
  custom_elements = gr.Textbox(label="Custom Elements", scale=3)
 
105
  value="Meta-Llama-3.1-70B-Instruct",
106
  label="Model"
107
  )
108
+
 
 
 
 
109
 
110
  generate_btn = gr.Button("Generate Video Prompt", variant="primary")
111
  output = gr.Textbox(label="Generated Prompt", lines=12, show_copy_button=True)