xaviviro / refacer

Refacer: One-Click Deepfake Multi-Face Swap Tool
MIT License
530 stars 130 forks source link

don't open web-page #15

Closed DEaDEGORkA closed 1 year ago

DEaDEGORkA commented 1 year ago

after installing i tryed to open link http://127.0.0.1:7680 in web-brouser. it shows "Unable to access the site". OC WIN10

suphamster commented 1 year ago

I had same problem (site not working right after refacer installation), it was fixed when I've closed command line window (in my case it was "Anaconda Promt") open it again and started python script, it run fine after that. Also port number changed from 7680 to 7681 after next launch. Btw tool works fine on Python 3.9.16 for me so no need to install 3.10 if u already have 3.9.

DEaDEGORkA commented 1 year ago

my port dont change

DEaDEGORkA commented 1 year ago

it should be preinstalled Visual studio?

suphamster commented 1 year ago

I dunno since I'm not developer about Visual Studio but I had it installed. But I think web page should work without it but to install dependencies u could need it else tool wouldn't work correctly. U can look here https://disk.yandex.ru/d/OcHdF2kzO6YdjQ there are instructions, portable version, etc. Thats all I can help. Also try restarting PC if cmd restart not helped.

xaviviro commented 1 year ago

If after installing you've tried to launch the app with python app.py and it's not working, check your Windows firewall. And if the issue is related to the port, you can now change it thanks to @fAIseh00d commit here: https://github.com/xaviviro/refacer/commit/0e79a8a5703443403e1f52c735a52c5c5481fa6c. You can change the port by running python app.py —server_port 12345.