segmind / segmoe

Apache License 2.0
409 stars 24 forks source link

Issue with Civitai downloads #8

Closed donaldanixon closed 9 months ago

donaldanixon commented 9 months ago

They'll never load, code needs to be fixed to use a different diffusion pipeline that does have from_single_file available

Traceback (most recent call last): File "C:\Users\DonaldNixon\AppData\Local\Programs\Python\Python310\lib\runpy.py", line 196, in _run_module_as_main return _run_code(code, main_globals, None, File "C:\Users\DonaldNixon\AppData\Local\Programs\Python\Python310\lib\runpy.py", line 86, in _run_code exec(code, run_globals) File "C:\AI\Segmoe\Scripts\segmoe.exe__main.py", line 7, in File "C:\AI\Segmoe\lib\site-packages\segmoe\cli.py", line 6, in create pipe = SegMoEPipeline(args[1]) File "C:\AI\Segmoe\lib\site-packages\segmoe\main.py", line 114, in init__ self.load_from_scratch(config_or_path, **kwargs) File "C:\AI\Segmoe\lib\site-packages\segmoe\main.py", line 171, in load_from_scratch self.pipe = DiffusionPipeline.from_single_file( AttributeError: type object 'DiffusionPipeline' has no attribute 'from_single_file'

jexom commented 9 months ago

The problem seems to be before that. The wget call fails because there is a missed space in the line after setting the downloaded file location.

Warlord-K commented 9 months ago

Fixed with PR #14, Thanks for raising the issue!