Spaces:
Restarting
on
Zero
Restarting
on
Zero
12
Browse files
app.py
CHANGED
|
@@ -278,7 +278,7 @@ def generate_video(
|
|
| 278 |
end_image_pil = end_image_debug_value[0]
|
| 279 |
prompt = prompt_debug_value[0]
|
| 280 |
duration_seconds = total_second_length_debug_value[0]
|
| 281 |
-
allocation_time = min(allocation_time_debug_value[0], 60 *
|
| 282 |
factor = 3.1
|
| 283 |
|
| 284 |
if start_image_pil is None or end_image_pil is None:
|
|
@@ -535,7 +535,7 @@ with gr.Blocks(js=js) as app:
|
|
| 535 |
input_image_debug=gr.Image(type="pil", label="Image Debug")
|
| 536 |
end_image_debug=gr.Image(type="pil", label="End Image Debug")
|
| 537 |
total_second_length_debug=gr.Slider(label="Duration Debug", minimum=1, maximum=120, value=4, step=0.1)
|
| 538 |
-
allocation_time_debug=gr.Slider(label="Allocation Debug", minimum=1, maximum=1200, value=
|
| 539 |
information_debug = gr.HTML(value = "")
|
| 540 |
gr.Examples(
|
| 541 |
examples=[["Schoolboy_without_backpack.webp", "Schoolboy_with_backpack.webp", "The schoolboy puts on his schoolbag."]],
|
|
|
|
| 278 |
end_image_pil = end_image_debug_value[0]
|
| 279 |
prompt = prompt_debug_value[0]
|
| 280 |
duration_seconds = total_second_length_debug_value[0]
|
| 281 |
+
allocation_time = min(allocation_time_debug_value[0], 60 * 12)
|
| 282 |
factor = 3.1
|
| 283 |
|
| 284 |
if start_image_pil is None or end_image_pil is None:
|
|
|
|
| 535 |
input_image_debug=gr.Image(type="pil", label="Image Debug")
|
| 536 |
end_image_debug=gr.Image(type="pil", label="End Image Debug")
|
| 537 |
total_second_length_debug=gr.Slider(label="Duration Debug", minimum=1, maximum=120, value=4, step=0.1)
|
| 538 |
+
allocation_time_debug=gr.Slider(label="Allocation Debug", minimum=1, maximum=1200, value=660, step=1)
|
| 539 |
information_debug = gr.HTML(value = "")
|
| 540 |
gr.Examples(
|
| 541 |
examples=[["Schoolboy_without_backpack.webp", "Schoolboy_with_backpack.webp", "The schoolboy puts on his schoolbag."]],
|