kabachuha / sd-webui-text2video

Auto1111 extension implementing text2video diffusion models (like ModelScope or VideoCrafter) using only Auto1111 webui dependencies
Other
1.28k stars 106 forks source link

Add scripts/ directory, relative to text2vid.py, to os.path #172

Closed netux closed 1 year ago

netux commented 1 year ago

Another shot at fixing #105, and a follow up to #146.

Fixes extension failing to load when installing the extension with an unusual directory name (like mine), by copying what is done in api_t2v.py.

Turns out you don't have to completely reinstall Automatic1111. You just have to rename the directory where the extension was cloned lol.

I think this accounts for the other additions to the path as well, but I didn't want to touch those in case something broke on a different setup.

kabachuha commented 1 year ago

Oh, thanks! One of the contributors did it with Deforum, so it's proven to work