New update new error on colab #2469
Replies: 1 comment
-
fixed, use the latest notebook |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
As always, every time the code of the Automatic1111 repo is updated, Google Colab gives errors when the last cell is executed. I'm surprised it worked fine for nearly a month. Again as always, I erased the SD folder and started from scratch with the same results. I hate having to depend on Google to run SD but it is what it is. And the error of the month is:
Traceback (most recent call last):
File "/content/gdrive/MyDrive/sd/stable-diffusion-webui/webui.py", line 14, in
from fastapi import FastAPI
File "/usr/local/lib/python3.10/dist-packages/fastapi/init.py", line 7, in
from .applications import FastAPI as FastAPI
File "/usr/local/lib/python3.10/dist-packages/fastapi/applications.py", line 15, in
from fastapi import routing
File "/usr/local/lib/python3.10/dist-packages/fastapi/routing.py", line 21, in
from fastapi import params
File "/usr/local/lib/python3.10/dist-packages/fastapi/params.py", line 4, in
from pydantic.fields import FieldInfo, Undefined
ImportError: cannot import name 'Undefined' from 'pydantic.fields' (/usr/local/lib/python3.10/dist-packages/pydantic/fields.py)
Beta Was this translation helpful? Give feedback.
All reactions