Spaces:
Runtime error
Runtime error
Commit
β’
e16c291
1
Parent(s):
fcae7db
Update gradio_videocontrol.py
Browse files- gradio_videocontrol.py +9 -9
gradio_videocontrol.py
CHANGED
@@ -4,15 +4,15 @@ def create_demo(get_video_control):
|
|
4 |
block = gr.Blocks(css='style.css').queue()
|
5 |
with block:
|
6 |
with gr.Group():
|
7 |
-
|
8 |
-
|
9 |
-
|
10 |
-
|
11 |
-
|
12 |
-
|
13 |
-
|
14 |
-
|
15 |
-
|
16 |
result = gr.Video(label='Result', show_label=False, elem_id='gallery')
|
17 |
with gr.Accordion('Advanced options', open=False):
|
18 |
seed = gr.Slider(
|
|
|
4 |
block = gr.Blocks(css='style.css').queue()
|
5 |
with block:
|
6 |
with gr.Group():
|
7 |
+
|
8 |
+
prompt = gr.Text(
|
9 |
+
label='Prompt',
|
10 |
+
show_label=False,
|
11 |
+
max_lines=1,
|
12 |
+
placeholder='Enter your prompt',
|
13 |
+
elem_id='prompt-text-input').style(container=False)
|
14 |
+
input_video = gr.Video(label='Input Video')
|
15 |
+
run_button = gr.Button('Generate video')
|
16 |
result = gr.Video(label='Result', show_label=False, elem_id='gallery')
|
17 |
with gr.Accordion('Advanced options', open=False):
|
18 |
seed = gr.Slider(
|