gokaygokay commited on
Commit
e0d6be2
·
1 Parent(s): 70bca6a
Files changed (1) hide show
  1. app.py +3 -9
app.py CHANGED
@@ -20,18 +20,15 @@ def create_video_interface():
20
  value="Simple",
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",
@@ -87,9 +84,6 @@ def create_video_interface():
87
  label="SFX Approach"
88
  )
89
 
90
-
91
- with gr.Row():
92
- custom_elements = gr.Textbox(label="Custom Elements", scale=3)
93
  with gr.Column(scale=1):
94
  provider = gr.Dropdown(
95
  choices=["SambaNova", "Groq"],
@@ -107,8 +101,8 @@ def create_video_interface():
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)
112
 
113
  def update_models(provider):
114
  models = {
 
20
  value="Simple",
21
  label="Video Style"
22
  )
 
23
  custom_elements = gr.Textbox(label="Custom Technical Elements",
24
  placeholder="e.g., Infrared hybrid, Datamosh transitions")
 
25
  prompt_length = gr.Dropdown(
26
  choices=["Short", "Medium", "Long"],
27
  value="Medium",
28
  label="Prompt Length"
29
+ )
30
 
31
  with gr.Column(scale=2):
 
32
  camera_direction = gr.Dropdown(
33
  choices=[
34
  "None",
 
84
  label="SFX Approach"
85
  )
86
 
 
 
 
87
  with gr.Column(scale=1):
88
  provider = gr.Dropdown(
89
  choices=["SambaNova", "Groq"],
 
101
  )
102
 
103
 
104
+ generate_btn = gr.Button("Generate Video Prompt", variant="primary")
105
+ output = gr.Textbox(label="Generated Prompt", lines=12, show_copy_button=True)
106
 
107
  def update_models(provider):
108
  models = {