Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -102,6 +102,7 @@ with gr.Blocks(css=css) as demo:
|
|
102 |
with gr.Row():
|
103 |
with gr.Column():
|
104 |
face_in = gr.Image(type="filepath", label="Face to copy")
|
|
|
105 |
camera_shot = gr.Dropdown(
|
106 |
label = "Camera Shot",
|
107 |
info = "Use standard camera shots vocabulary, or drop your custom shot as conditional pose (1280*720 ratio is recommended)",
|
@@ -113,9 +114,10 @@ with gr.Blocks(css=css) as demo:
|
|
113 |
condition_shot = gr.Image(type="filepath", label="Custom conditional shot (Optional)")
|
114 |
prompt = gr.Textbox(label="Prompt")
|
115 |
chosen_model = gr.Radio(label="Choose a model", choices=["i2vgen-xl", "stable-video"], value="i2vgen-xl", interactive=False, visible=False)
|
116 |
-
|
117 |
-
|
118 |
-
|
|
|
119 |
|
120 |
submit_btn.click(
|
121 |
fn = infer,
|
|
|
102 |
with gr.Row():
|
103 |
with gr.Column():
|
104 |
face_in = gr.Image(type="filepath", label="Face to copy")
|
105 |
+
with gr.Column():
|
106 |
camera_shot = gr.Dropdown(
|
107 |
label = "Camera Shot",
|
108 |
info = "Use standard camera shots vocabulary, or drop your custom shot as conditional pose (1280*720 ratio is recommended)",
|
|
|
114 |
condition_shot = gr.Image(type="filepath", label="Custom conditional shot (Optional)")
|
115 |
prompt = gr.Textbox(label="Prompt")
|
116 |
chosen_model = gr.Radio(label="Choose a model", choices=["i2vgen-xl", "stable-video"], value="i2vgen-xl", interactive=False, visible=False)
|
117 |
+
|
118 |
+
with gr.Column():
|
119 |
+
submit_btn = gr.Button("Submit")
|
120 |
+
video_out = gr.Video()
|
121 |
|
122 |
submit_btn.click(
|
123 |
fn = infer,
|