Open SoftologyPro opened 4 months ago
If you edit wrappers.py to change import ForkProcess to import SpawnProcess it fixes that particular error. There are a couple more edits you're going to need to do in order to get things running. Will update this post once I'm at my PC. Currently I'm able to get the app to run, but when I actually try and generate an image things break. Will report back if I get fixed today.
Thanks. I already support v1 in Visions of Chaos for any Windows users so having support for v2 and the upcoming v3 would be great. I could always auto edit the scripts once installed to be Windows compatible (if I knew all the edits), but it would be better/easier if the source repo code supported Windows without needing any edits at my end. That way the install for Visions of Chaos users is a single button click.
When I start the gradio app I get this...
ForkProcess is only on Unix? Any chance you can patch it for Windows compatibility too? v1 of PhotoMaker worked fine under Windows. Apparently Windows needs to use SpawnProcess rather than ForkProcess. Can you add an if to detect the OS and call the relevant code?