mirror of
https://github.com/immich-app/immich
synced 2025-11-14 17:36:12 +00:00
fix(ml): pydantic dep causes starting up issue (#11773)
* fix(ml): pydantic dep causes starting up issue * revert import
This commit is contained in:
parent
7f7fec2cea
commit
fb962f49ea
5 changed files with 54 additions and 129 deletions
|
|
@ -15,7 +15,7 @@ from fastapi import Depends, FastAPI, File, Form, HTTPException
|
|||
from fastapi.responses import ORJSONResponse
|
||||
from onnxruntime.capi.onnxruntime_pybind11_state import InvalidProtobuf, NoSuchFile
|
||||
from PIL.Image import Image
|
||||
from pydantic.v1 import ValidationError
|
||||
from pydantic import ValidationError
|
||||
from starlette.formparsers import MultiPartParser
|
||||
|
||||
from app.models import get_model_deps
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue