when running the script, to the line:
from dalle3 import Dalle
There is exception. detail as below:
Exception has occurred: ImportError
cannot import name 'load_tool' from 'transformers' (C:\Users\xx\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\transformers__init.py)
File "C:\Users\xx\Desktop\Dalle-3.py", line 3, in
from dalle3 import Dalle
ImportError: cannot import name 'load_tool' from 'transformers' (C:\Users\xx\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\transformers\init__.py)
when running the script, to the line: from dalle3 import Dalle There is exception. detail as below: Exception has occurred: ImportError cannot import name 'load_tool' from 'transformers' (C:\Users\xx\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\transformers__init.py) File "C:\Users\xx\Desktop\Dalle-3.py", line 3, in
from dalle3 import Dalle
ImportError: cannot import name 'load_tool' from 'transformers' (C:\Users\xx\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\transformers\ init__.py)