Zejun-Yang/AniPortrait

Gradio webUI error

Closed this issue · 0 comments

When I run python -m scripts.app, the error is that:
Traceback (most recent call last):
File "/home/gtf/miniconda3/envs/hallo/lib/python3.10/runpy.py", line 196, in _run_module_as_main
return _run_code(code, main_globals, None,
File "/home/gtf/miniconda3/envs/hallo/lib/python3.10/runpy.py", line 86, in _run_code
exec(code, run_globals)
File "/mnt/e/my_project/AniPortrait/scripts/app.py", line 21, in
from src.models.unet_2d_condition import UNet2DConditionModel
File "/mnt/e/my_project/AniPortrait/src/models/unet_2d_condition.py", line 18, in
from diffusers.models.embeddings import (
ImportError: cannot import name 'PositionNet' from 'diffusers.models.embeddings' (/home/gtf/miniconda3/envs/hallo/lib/python3.10/site-packages/diffusers/models/embeddings.py)