Update app.py for colab purposes

This commit is contained in:
bulieme0 2024-07-09 14:56:27 +07:00 committed by GitHub
parent de88675006
commit 447e1c6cfd
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

7
app.py
View File

@ -144,11 +144,8 @@ with gr.Blocks(theme=gr.themes.Soft()) as demo:
inputs=image_input, inputs=image_input,
outputs=[eye_retargeting_slider, lip_retargeting_slider, retargeting_input_image] outputs=[eye_retargeting_slider, lip_retargeting_slider, retargeting_input_image]
) )
demo.launch(
##########################################################
demo.launch(
server_name=args.server_name, server_name=args.server_name,
server_port=args.server_port, server_port=args.server_port,
share=args.share, share=args.share,
) )