suno-ai / bark

🔊 Text-Prompted Generative Audio Model

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ImportError: cannot import name 'AutoProcessor' from partially initialized module 'transformers' (most likely due to a circular import)

mozgbrasil opened this issue · comments

Hello my friends, how are you, I'm trying to run the project example but an error is being returned, can you help me, thank you

marcio@marcio-Inspiron-5548:~/dados/git-clones/pessoal/gnz-python/bark$ python examples/transformers.py
Traceback (most recent call last):
  File "/home/marcio/dados/git-clones/pessoal/gnz-python/bark/examples/transformers.py", line 1, in <module>
    from transformers import AutoProcessor, BarkModel
  File "/home/marcio/dados/git-clones/pessoal/gnz-python/bark/examples/transformers.py", line 1, in <module>
    from transformers import AutoProcessor, BarkModel
ImportError: cannot import name 'AutoProcessor' from partially initialized module 'transformers' (most likely due to a circular import) (/home/marcio/dados/git-clones/pessoal/gnz-python/bark/examples/transformers.py)

Captura de tela de 2024-03-26 20-04-37
Captura de tela de 2024-03-26 20-04-55