Spaces:
Running
on
Zero
Running
on
Zero
paste from clipboard?
Browse filesquite useful - didn't test but it should work?
app.py
CHANGED
@@ -346,7 +346,7 @@ with gr.Blocks(css=css) as demo:
|
|
346 |
with gr.Column():
|
347 |
with gr.Tab("image-to-video") as image_tab:
|
348 |
video_i_hidden = gr.Textbox(label="video_i", visible=False, value=None)
|
349 |
-
image_i2v = gr.Image(label="Input Image", type="filepath", sources=["upload", "webcam"])
|
350 |
i2v_prompt = gr.Textbox(label="Prompt", value="The creature from the image starts to move", lines=3)
|
351 |
i2v_button = gr.Button("Generate Image-to-Video", variant="primary")
|
352 |
with gr.Tab("text-to-video") as text_tab:
|
@@ -356,7 +356,7 @@ with gr.Blocks(css=css) as demo:
|
|
356 |
t2v_button = gr.Button("Generate Text-to-Video", variant="primary")
|
357 |
with gr.Tab("video-to-video", visible=False) as video_tab:
|
358 |
image_v_hidden = gr.Textbox(label="image_v", visible=False, value=None)
|
359 |
-
video_v2v = gr.Video(label="Input Video", sources=["upload", "webcam"]) # type defaults to filepath
|
360 |
frames_to_use = gr.Slider(label="Frames to use from input video", minimum=9, maximum=MAX_NUM_FRAMES, value=9, step=8, info="Number of initial frames to use for conditioning/transformation. Must be N*8+1.")
|
361 |
v2v_prompt = gr.Textbox(label="Prompt", value="Change the style to cinematic anime", lines=3)
|
362 |
v2v_button = gr.Button("Generate Video-to-Video", variant="primary")
|
|
|
346 |
with gr.Column():
|
347 |
with gr.Tab("image-to-video") as image_tab:
|
348 |
video_i_hidden = gr.Textbox(label="video_i", visible=False, value=None)
|
349 |
+
image_i2v = gr.Image(label="Input Image", type="filepath", sources=["upload", "webcam", "clipboard"])
|
350 |
i2v_prompt = gr.Textbox(label="Prompt", value="The creature from the image starts to move", lines=3)
|
351 |
i2v_button = gr.Button("Generate Image-to-Video", variant="primary")
|
352 |
with gr.Tab("text-to-video") as text_tab:
|
|
|
356 |
t2v_button = gr.Button("Generate Text-to-Video", variant="primary")
|
357 |
with gr.Tab("video-to-video", visible=False) as video_tab:
|
358 |
image_v_hidden = gr.Textbox(label="image_v", visible=False, value=None)
|
359 |
+
video_v2v = gr.Video(label="Input Video", sources=["upload", "webcam", "clipboard"]) # type defaults to filepath
|
360 |
frames_to_use = gr.Slider(label="Frames to use from input video", minimum=9, maximum=MAX_NUM_FRAMES, value=9, step=8, info="Number of initial frames to use for conditioning/transformation. Must be N*8+1.")
|
361 |
v2v_prompt = gr.Textbox(label="Prompt", value="Change the style to cinematic anime", lines=3)
|
362 |
v2v_button = gr.Button("Generate Video-to-Video", variant="primary")
|