IOPaint
IOPaint copied to clipboard
[BUG] Directory path in backend startup wrong? (windows)
Model not relevant
Describe the bug
Starting the python backend as in the readme with python .\main.py start --model lama --port 8080 results in "Directory not found".
I noticed that the path resolving to the web app did not actually point to the web app
Screenshots
The error:
Some modification i did to api.py (notice I added an extra .parent)
The output -- notice that the web app directory path now points to the actual web app
Current file path: C:\Users\karll\projects\IOPaint\iopaint\api.py
Current directory: C:\Users\karll\projects\IOPaint
Web app directory: C:\Users\karll\projects\IOPaint\web_app
System Info Software version used
- iopaint: git reflog 61a759f
- pytorch: irrelevant
- CUDA: irrelevant
OS: Windows, might be something special here?
lol turns out that I can't read - it is a hint right here in the readme
.... but this will only work for non-debugging?