Spaces:
Running
on
Zero
Running
on
Zero
alex
commited on
Commit
·
4257e1b
1
Parent(s):
56c0d97
more layout fixes
Browse files
app.py
CHANGED
|
@@ -249,7 +249,7 @@ with gr.Blocks(css=css) as demo:
|
|
| 249 |
with gr.Row():
|
| 250 |
with gr.Column():
|
| 251 |
# Image section
|
| 252 |
-
image = gr.Image(type="filepath", label="Image")
|
| 253 |
|
| 254 |
if args.use_image_gen:
|
| 255 |
with gr.Accordion("🖼️ Image Generation Options", visible=True):
|
|
@@ -262,7 +262,9 @@ with gr.Blocks(css=css) as demo:
|
|
| 262 |
gen_img_btn = None
|
| 263 |
|
| 264 |
|
| 265 |
-
video_text_prompt = gr.Textbox(label="Video Prompt",
|
|
|
|
|
|
|
| 266 |
sample_steps = gr.Slider(
|
| 267 |
value=50,
|
| 268 |
label="Sample Steps",
|
|
@@ -290,7 +292,7 @@ with gr.Blocks(css=css) as demo:
|
|
| 290 |
|
| 291 |
|
| 292 |
with gr.Column():
|
| 293 |
-
output_path = gr.Video(label="Generated Video")
|
| 294 |
|
| 295 |
gr.Examples(
|
| 296 |
examples=[
|
|
|
|
| 249 |
with gr.Row():
|
| 250 |
with gr.Column():
|
| 251 |
# Image section
|
| 252 |
+
image = gr.Image(type="filepath", label="Image", height=512)
|
| 253 |
|
| 254 |
if args.use_image_gen:
|
| 255 |
with gr.Accordion("🖼️ Image Generation Options", visible=True):
|
|
|
|
| 262 |
gen_img_btn = None
|
| 263 |
|
| 264 |
|
| 265 |
+
video_text_prompt = gr.Textbox(label="Video Prompt",
|
| 266 |
+
lines=5,
|
| 267 |
+
placeholder="Describe your video...")
|
| 268 |
sample_steps = gr.Slider(
|
| 269 |
value=50,
|
| 270 |
label="Sample Steps",
|
|
|
|
| 292 |
|
| 293 |
|
| 294 |
with gr.Column():
|
| 295 |
+
output_path = gr.Video(label="Generated Video", height=512)
|
| 296 |
|
| 297 |
gr.Examples(
|
| 298 |
examples=[
|