How to modify the path in krita_diff.py #16
-
|
I converted krita.bat windows batch file into linux bash file to run this repository from WSL. Although I managed to make it work under WSL, I ran into a problem with the Krita plug. Particularly krita_diff.py, as it gets the WSL subsystem path: The txt2img promote process worked correctly and the results can be found in |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
|
For those with the same issue, I modified the path outputs lists from the krita_server.py side instead of the plug side. The action must be performed after saving, since it will run under the WSL path I put this loop: In krita_server at the end of async This will allowed the plug to work with docker or WSL under windows or any setup based on path |
Beta Was this translation helpful? Give feedback.
For those with the same issue, I modified the path outputs lists from the krita_server.py side instead of the plug side. The action must be performed after saving, since it will run under the WSL path
/mnt/c/or any other drive where thekrita_serveris located from the perspective of the server.krita_diff.pywill receive modified outputs lists types. We modified the list by deleting the/mnt/cin the path and replacing it withc:/I put this loop:
In krita_server at the end of async
def f_txt2img(req: Txt2ImgRequest):beforereturn {"outputs": outputs, "info": info}This will allowed the plug to work with docker or WS…