Spaces:
Running
Running
update sdk
Browse files
README.md
CHANGED
@@ -4,7 +4,7 @@ emoji: π
|
|
4 |
colorFrom: blue
|
5 |
colorTo: pink
|
6 |
sdk: gradio
|
7 |
-
sdk_version:
|
8 |
app_file: app.py
|
9 |
pinned: false
|
10 |
license: apache-2.0
|
|
|
4 |
colorFrom: blue
|
5 |
colorTo: pink
|
6 |
sdk: gradio
|
7 |
+
sdk_version: 4.36.1
|
8 |
app_file: app.py
|
9 |
pinned: false
|
10 |
license: apache-2.0
|
app.py
CHANGED
@@ -82,8 +82,8 @@ if __name__ == '__main__':
|
|
82 |
gen_submit = gr.Button("Generate", variant="primary")
|
83 |
with gr.Column():
|
84 |
gen_output1 = gr.Image(label="output image")
|
85 |
-
select_img_input_w1 = gr.
|
86 |
-
select_img_input_img1 = gr.
|
87 |
|
88 |
with gr.TabItem("generate video"):
|
89 |
with gr.Row():
|
@@ -97,7 +97,7 @@ if __name__ == '__main__':
|
|
97 |
with gr.Group():
|
98 |
select_img1_button = gr.Button("Select", variant="primary")
|
99 |
select_img1_output_img = gr.Image(label="selected image 1")
|
100 |
-
select_img1_output_w = gr.
|
101 |
with gr.Column():
|
102 |
gr.Markdown("please select image 2")
|
103 |
select_img2_dropdown = gr.Radio(label="source", value="current generated image",
|
@@ -105,7 +105,7 @@ if __name__ == '__main__':
|
|
105 |
with gr.Group():
|
106 |
select_img2_button = gr.Button("Select", variant="primary")
|
107 |
select_img2_output_img = gr.Image(label="selected image 2")
|
108 |
-
select_img2_output_w = gr.
|
109 |
generate_video_frame = gr.Slider(minimum=10, maximum=30, step=1, label="frame", value=15)
|
110 |
with gr.Group():
|
111 |
generate_video_button = gr.Button("Generate", variant="primary")
|
|
|
82 |
gen_submit = gr.Button("Generate", variant="primary")
|
83 |
with gr.Column():
|
84 |
gen_output1 = gr.Image(label="output image")
|
85 |
+
select_img_input_w1 = gr.State()
|
86 |
+
select_img_input_img1 = gr.State()
|
87 |
|
88 |
with gr.TabItem("generate video"):
|
89 |
with gr.Row():
|
|
|
97 |
with gr.Group():
|
98 |
select_img1_button = gr.Button("Select", variant="primary")
|
99 |
select_img1_output_img = gr.Image(label="selected image 1")
|
100 |
+
select_img1_output_w = gr.State()
|
101 |
with gr.Column():
|
102 |
gr.Markdown("please select image 2")
|
103 |
select_img2_dropdown = gr.Radio(label="source", value="current generated image",
|
|
|
105 |
with gr.Group():
|
106 |
select_img2_button = gr.Button("Select", variant="primary")
|
107 |
select_img2_output_img = gr.Image(label="selected image 2")
|
108 |
+
select_img2_output_w = gr.State()
|
109 |
generate_video_frame = gr.Slider(minimum=10, maximum=30, step=1, label="frame", value=15)
|
110 |
with gr.Group():
|
111 |
generate_video_button = gr.Button("Generate", variant="primary")
|