Zhouyan248 commited on
Commit
1c0be18
β€’
1 Parent(s): f333013

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -4
app.py CHANGED
@@ -109,17 +109,15 @@ with gr.Blocks(css='style.css') as demo:
109
  prompt = gr.Textbox(label="Prompt", placeholder="enter prompt", show_label=True, elem_id="prompt-in")
110
 
111
  with gr.Row():
112
- # control_task = gr.Dropdown(label="Task", choices=["Text-2-video", "Image-2-video"], value="Text-2-video", multiselect=False, elem_id="controltask-in")
113
  sampling_steps = gr.Slider(label='Steps', minimum=50, maximum=300, value=100, step=1)
114
  seed_inp = gr.Slider(label="Seed", minimum=0, maximum=2147483647, step=1, value=250, elem_id="seed-in")
115
- with gr.Row():
116
- infer_type = gr.Dropdown(['ddpm','ddim'], label='infer_type',value='ddim')
117
  with gr.Row():
118
  width = gr.Slider(label='width',minimum=1,maximum=2000,value=512,step=1)
119
  height = gr.Slider(label='height',minimum=1,maximum=2000,value=320,step=1)
120
  # sampling_steps = gr.Slider(label='Steps', minimum=50, maximum=300, value=250, step=1)
121
 
122
-
123
 
124
  submit_btn = gr.Button("Generate video")
125
  # clean_btn = gr.Button("Clean video")
 
109
  prompt = gr.Textbox(label="Prompt", placeholder="enter prompt", show_label=True, elem_id="prompt-in")
110
 
111
  with gr.Row():
112
+ infer_type = gr.Dropdown(['ddpm','ddim'], label='infer_type',value='ddim')
113
  sampling_steps = gr.Slider(label='Steps', minimum=50, maximum=300, value=100, step=1)
114
  seed_inp = gr.Slider(label="Seed", minimum=0, maximum=2147483647, step=1, value=250, elem_id="seed-in")
115
+
 
116
  with gr.Row():
117
  width = gr.Slider(label='width',minimum=1,maximum=2000,value=512,step=1)
118
  height = gr.Slider(label='height',minimum=1,maximum=2000,value=320,step=1)
119
  # sampling_steps = gr.Slider(label='Steps', minimum=50, maximum=300, value=250, step=1)
120
 
 
121
 
122
  submit_btn = gr.Button("Generate video")
123
  # clean_btn = gr.Button("Clean video")