Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -255,7 +255,7 @@ with gr.Blocks(theme=gr.themes.Soft()) as demo:
|
|
| 255 |
# ========== 여기에 closed mouth 버튼 추가 ========== #
|
| 256 |
lip_ratio_input = gr.Number(value=0.0, label="Lip Ratio")
|
| 257 |
process_button_closelip = gr.Button("Close lip", variant="primary")
|
| 258 |
-
image_close_lip = gr.Image(type="filepath")
|
| 259 |
|
| 260 |
|
| 261 |
|
|
@@ -335,7 +335,7 @@ with gr.Blocks(theme=gr.themes.Soft()) as demo:
|
|
| 335 |
process_button_closelip.click(
|
| 336 |
fn=gpu_wrapped_execute_image_lip,
|
| 337 |
inputs=[lip_ratio_input, image_input, flag_do_crop_input],
|
| 338 |
-
outputs=[
|
| 339 |
show_progress=True
|
| 340 |
)
|
| 341 |
|
|
|
|
| 255 |
# ========== 여기에 closed mouth 버튼 추가 ========== #
|
| 256 |
lip_ratio_input = gr.Number(value=0.0, label="Lip Ratio")
|
| 257 |
process_button_closelip = gr.Button("Close lip", variant="primary")
|
| 258 |
+
#image_close_lip = gr.Image(type="filepath")
|
| 259 |
|
| 260 |
|
| 261 |
|
|
|
|
| 335 |
process_button_closelip.click(
|
| 336 |
fn=gpu_wrapped_execute_image_lip,
|
| 337 |
inputs=[lip_ratio_input, image_input, flag_do_crop_input],
|
| 338 |
+
outputs=[image_input],
|
| 339 |
show_progress=True
|
| 340 |
)
|
| 341 |
|