Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -204,7 +204,7 @@ def create_zoom_animation(previous_frame, next_frame, steps):
|
|
204 |
|
205 |
return interpolated_frames
|
206 |
|
207 |
-
def create_video_from_images(image_list, fps=
|
208 |
if not image_list:
|
209 |
return None
|
210 |
|
@@ -225,7 +225,7 @@ def create_video_from_images(image_list, fps=8):
|
|
225 |
@spaces.GPU(duration=70)
|
226 |
def loop_outpainting(image, width=1024, height=1024, overlap_width=6, num_inference_steps=8,
|
227 |
resize_option="custom", custom_resize_size=512, prompt_input=None,
|
228 |
-
alignment="Middle", num_iterations=6, fps=
|
229 |
progress=gr.Progress()):
|
230 |
current_image = image
|
231 |
if(current_image.width != 1024 or current_image.height != 1024):
|
@@ -382,7 +382,7 @@ with gr.Blocks(css=css) as demo:
|
|
382 |
)
|
383 |
with gr.Row():
|
384 |
num_iterations = gr.Slider(label="Number of iterations", minimum=2, maximum=24, step=1, value=6)
|
385 |
-
fps = gr.Slider(label="fps", minimum=1, maximum=24, value=
|
386 |
with gr.Row():
|
387 |
num_interpolation_frames = gr.Slider(label="Interpolation frames", minimum=0, maximum=10, step=1, value=15)
|
388 |
|
|
|
204 |
|
205 |
return interpolated_frames
|
206 |
|
207 |
+
def create_video_from_images(image_list, fps=16):
|
208 |
if not image_list:
|
209 |
return None
|
210 |
|
|
|
225 |
@spaces.GPU(duration=70)
|
226 |
def loop_outpainting(image, width=1024, height=1024, overlap_width=6, num_inference_steps=8,
|
227 |
resize_option="custom", custom_resize_size=512, prompt_input=None,
|
228 |
+
alignment="Middle", num_iterations=6, fps=16, num_interpolation_frames=15,
|
229 |
progress=gr.Progress()):
|
230 |
current_image = image
|
231 |
if(current_image.width != 1024 or current_image.height != 1024):
|
|
|
382 |
)
|
383 |
with gr.Row():
|
384 |
num_iterations = gr.Slider(label="Number of iterations", minimum=2, maximum=24, step=1, value=6)
|
385 |
+
fps = gr.Slider(label="fps", minimum=1, maximum=24, value=16)
|
386 |
with gr.Row():
|
387 |
num_interpolation_frames = gr.Slider(label="Interpolation frames", minimum=0, maximum=10, step=1, value=15)
|
388 |
|