I am creating a webpage by using this face swap Python code.
But I don’t know how to execute the command on the web application created with Django.
Here is a concept of the webpage
To execute the python script, need to type like this as explained.
python main.py --src imgs/test6.jpg --dst imgs/test7.jpg --out results/output6_7.jpg --correct_color
However, wondering if it is possible to execute on the webapplication with a trigger button.
Thank you for your help in advance.