Spaces:
Running
on
Zero
Running
on
Zero
Rename app_.py to app.py
Browse files- app_.py → app.py +4 -4
app_.py → app.py
RENAMED
@@ -149,8 +149,8 @@ def gpu_wrapped_execute_video(*args, **kwargs):
|
|
149 |
return gradio_pipeline.execute_video(*args, **kwargs)
|
150 |
|
151 |
@spaces.GPU()
|
152 |
-
def
|
153 |
-
return gradio_pipeline.
|
154 |
|
155 |
|
156 |
def is_square_video(video_path):
|
@@ -332,8 +332,8 @@ with gr.Blocks(theme=gr.themes.Soft()) as demo:
|
|
332 |
)
|
333 |
|
334 |
process_button_closelip.click(
|
335 |
-
fn=
|
336 |
-
inputs=[
|
337 |
outputs=[image_input],
|
338 |
show_progress=True
|
339 |
)
|
|
|
149 |
return gradio_pipeline.execute_video(*args, **kwargs)
|
150 |
|
151 |
@spaces.GPU()
|
152 |
+
def gpu_wrapped_execute_image_lip(*args, **kwargs):
|
153 |
+
return gradio_pipeline.execute_image_lip(*args, **kwargs)
|
154 |
|
155 |
|
156 |
def is_square_video(video_path):
|
|
|
332 |
)
|
333 |
|
334 |
process_button_closelip.click(
|
335 |
+
fn=gpu_wrapped_execute_image_lip,
|
336 |
+
inputs=[float(0), image_input, flag_do_crop_input],
|
337 |
outputs=[image_input],
|
338 |
show_progress=True
|
339 |
)
|