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

13
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(
########################################################## server_name=args.server_name,
server_port=args.server_port,
demo.launch( share=args.share,
server_name=args.server_name, )
server_port=args.server_port,
share=args.share,
)