Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -22,9 +22,9 @@ with gr.Blocks() as demo:
|
|
22 |
with gr.Column():
|
23 |
image_input = gr.Image(type="pil", label="Upload Image")
|
24 |
prompt_input = gr.Textbox(lines=2, placeholder="Enter prompt...", label="Prompt")
|
25 |
-
num_frames_input = gr.Slider(1, 50, step=1,
|
26 |
-
height_input = gr.Number(label="Resolution Height",
|
27 |
-
width_input = gr.Number(label="Resolution Width",
|
28 |
run_button = gr.Button("Generate Video")
|
29 |
with gr.Column():
|
30 |
video_output = gr.Video(label="Generated Video")
|
@@ -37,4 +37,5 @@ with gr.Blocks() as demo:
|
|
37 |
|
38 |
# Launch the interface
|
39 |
if __name__ == "__main__":
|
40 |
-
demo.launch()
|
|
|
|
22 |
with gr.Column():
|
23 |
image_input = gr.Image(type="pil", label="Upload Image")
|
24 |
prompt_input = gr.Textbox(lines=2, placeholder="Enter prompt...", label="Prompt")
|
25 |
+
num_frames_input = gr.Slider(1, 50, step=1, value=25, label="Number of Frames")
|
26 |
+
height_input = gr.Number(label="Resolution Height", value=576)
|
27 |
+
width_input = gr.Number(label="Resolution Width", value=1024)
|
28 |
run_button = gr.Button("Generate Video")
|
29 |
with gr.Column():
|
30 |
video_output = gr.Video(label="Generated Video")
|
|
|
37 |
|
38 |
# Launch the interface
|
39 |
if __name__ == "__main__":
|
40 |
+
demo.launch()
|
41 |
+
|