Spaces:
Runtime error
Runtime error
Zhouyan248
commited on
Commit
β’
1c0be18
1
Parent(s):
f333013
Update app.py
Browse files
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 |
-
|
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 |
-
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")
|