Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -116,14 +116,14 @@ with gr.Blocks(css='style.css') as demo:
|
|
116 |
gr.HTML(title)
|
117 |
with gr.Row():
|
118 |
with gr.Column():
|
119 |
-
prompt = gr.Textbox(label="Prompt", placeholder="enter prompt", show_label=False)
|
120 |
-
video_inp = gr.Video(label="Video source", source="upload", type="filepath")
|
121 |
with gr.Row():
|
122 |
seed_inp = gr.Slider(minimum=0, maximum=10000, step=1, value=123456)
|
123 |
trim_in = gr.Slider(label="Cut video at (s)", minimun=1, maximum=3, step=1, value=1)
|
124 |
with gr.Column():
|
125 |
|
126 |
-
video_out = gr.Video(label="Pix2pix video result")
|
127 |
submit_btn = gr.Button("Generate Pix2Pix video")
|
128 |
|
129 |
with gr.Group(elem_id="share-btn-container", visible=False) as share_group:
|
|
|
116 |
gr.HTML(title)
|
117 |
with gr.Row():
|
118 |
with gr.Column():
|
119 |
+
prompt = gr.Textbox(label="Prompt", placeholder="enter prompt", show_label=False, elem_id="prompt-in")
|
120 |
+
video_inp = gr.Video(label="Video source", source="upload", type="filepath", elem_id="video-in")
|
121 |
with gr.Row():
|
122 |
seed_inp = gr.Slider(minimum=0, maximum=10000, step=1, value=123456)
|
123 |
trim_in = gr.Slider(label="Cut video at (s)", minimun=1, maximum=3, step=1, value=1)
|
124 |
with gr.Column():
|
125 |
|
126 |
+
video_out = gr.Video(label="Pix2pix video result", elem_id="video-out")
|
127 |
submit_btn = gr.Button("Generate Pix2Pix video")
|
128 |
|
129 |
with gr.Group(elem_id="share-btn-container", visible=False) as share_group:
|