Skip to content

Commit

Permalink
revert import
Browse files Browse the repository at this point in the history
  • Loading branch information
alextran1502 committed Aug 14, 2024
1 parent 6f5ed55 commit 4809aa4
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion machine-learning/app/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
from socket import socket

from gunicorn.arbiter import Arbiter
from pydantic.v1 import BaseModel, BaseSettings
from pydantic import BaseModel, BaseSettings
from rich.console import Console
from rich.logging import RichHandler
from uvicorn import Server
Expand Down
2 changes: 1 addition & 1 deletion machine-learning/app/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
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
Expand Down
2 changes: 1 addition & 1 deletion machine-learning/app/schemas.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

import numpy as np
import numpy.typing as npt
from pydantic.v1 import BaseModel
from pydantic import BaseModel


class StrEnum(str, Enum):
Expand Down

0 comments on commit 4809aa4

Please sign in to comment.