Update gradio_app.py
Browse files- gradio_app.py +5 -2
gradio_app.py
CHANGED
@@ -38,7 +38,7 @@ hf_hub_download(
|
|
38 |
)
|
39 |
|
40 |
def generate(control_sequence, ref_image):
|
41 |
-
control_image = control_sequence # "data_test/
|
42 |
ref_image = ref_image # "data_test/sample4.png"
|
43 |
unique_id = str(uuid.uuid4())
|
44 |
output_dir = f"results_{unique_id}"
|
@@ -114,7 +114,10 @@ with gr.Blocks(css=css) as demo:
|
|
114 |
|
115 |
gr.Examples(
|
116 |
examples = [
|
117 |
-
["data_test/
|
|
|
|
|
|
|
118 |
],
|
119 |
inputs = [control_sequence, ref_image]
|
120 |
)
|
|
|
38 |
)
|
39 |
|
40 |
def generate(control_sequence, ref_image):
|
41 |
+
control_image = control_sequence # "data_test/sample4.mp4"
|
42 |
ref_image = ref_image # "data_test/sample4.png"
|
43 |
unique_id = str(uuid.uuid4())
|
44 |
output_dir = f"results_{unique_id}"
|
|
|
114 |
|
115 |
gr.Examples(
|
116 |
examples = [
|
117 |
+
["data_test/sample1.mp4", "data_test/sample1.png"],
|
118 |
+
["data_test/sample2.mp4", "data_test/sample2.png"],
|
119 |
+
["data_test/sample3.mp4", "data_test/sample3.png"],
|
120 |
+
["data_test/sample4.mp4", "data_test/sample4.png"]
|
121 |
],
|
122 |
inputs = [control_sequence, ref_image]
|
123 |
)
|