[deleted]•

[deleted]

1
Yorgul•

.bat is for windows, .sh is for linux. can you paste here the whole webui-user.bat or .sh?

1
NetLibrarianOP•

Here's the whole bat:

@echo off

set PYTHON=

set GIT=

set VENV_DIR=

set COMMANDLINE_ARGS=--api

call webui.bat

1
Yorgul•

You shouldn't have to mess with lauch.py.

How are you starting A1111? You should start it by calling webui-user.bat.

1
NetLibrarianOP•

That might be my problem then. Not familiar with this kind of software, so when I needed to start things, I double clicked on the 'launch' file.

Just launched via the bat instead, and it seems to be reinstalling Torchvision and some other stuff.

1
Yorgul•

That's the way it's meant to be. webui-user.bat sets some user parameters (like --api), then calls webui.bat that does other stuff before, finally, running launch.py.

1