import generate_images error
When I just try to run the notebook, I get the below error while importing Interface..
Could you please help?
ImportError Traceback (most recent call last)
2 frames /usr/local/lib/python3.10/dist-packages/stable_diffusion_videos/init.py in getattr(name) 73 elif name in attr_to_modules: 74 submod_path = f"{package_name}.{attr_to_modules[name]}" ---> 75 submod = importlib.import_module(submod_path) 76 attr = getattr(submod, name) 77
/usr/lib/python3.10/importlib/init.py in import_module(name, package) 124 break 125 level += 1 --> 126 return _bootstrap._gcd_import(name[level:], package, level) 127 128
/usr/local/lib/python3.10/dist-packages/stable_diffusion_videos/app.py in
ImportError: cannot import name 'generate_images' from 'stable_diffusion_videos' (/usr/local/lib/python3.10/dist-packages/stable_diffusion_videos/init.py)
Oh hmm I thought I fixed this recently. I'll have a look when I get a chance sorry about that. Thanks for reporting ❤️
Just got around to looking at this. Seems its because package failed to publish to PyPi upon release. Didn't notice that. @Borda any chance this has something to do with changes you had made?
See this failed action: https://github.com/nateraw/stable-diffusion-videos/actions/runs/8979155015/job/24660699159
ah actually could be an authentication issue? I believe I was using username + pass before, perhaps they've changed something and you have to use API keys now?
Yes authentication...
issue fixed on main still haven't had time to fix pypi auth
issue fixed on main branch? I still meet this problem.
Traceback (most recent call last):
File "/root/share/stable-diffusion-videos/makevideo.py", line 1, in <module>
from stable_diffusion_videos import StableDiffusionWalkPipeline
ImportError: cannot import name 'StableDiffusionWalkPipeline' from 'stable_diffusion_videos' (/root/share/stable-diffusion-videos/stable_diffusion_videos/__init__.py)
and pypi is still problematic.
If author could upload a new tag, it will be great.
main branch works fine right now, but haven't shipped to PyPi :/ . Happy to do that but authentication to PyPi has changed and I haven't found time to fix it yet. 😢
@LukeLIN-web that import should work just fine if you installed main branch. Check the colab from the README - it works I just tried it.
Ok this should be resolved now, finally got around to pypi publish. 0.9.1 on pypi works :)