mdadul commited on
Commit
d3d41c0
·
1 Parent(s): 9f8b41e

fix: import error

Browse files
Files changed (2) hide show
  1. Dockerfile +1 -0
  2. app/main.py +1 -1
Dockerfile CHANGED
@@ -16,3 +16,4 @@ EXPOSE 8000
16
 
17
  # Command to run the FastAPI app
18
  CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "8000"]
 
 
16
 
17
  # Command to run the FastAPI app
18
  CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "8000"]
19
+
app/main.py CHANGED
@@ -1,5 +1,5 @@
1
  from fastapi import FastAPI
2
- from app.api.v1.endpoints import predict
3
  from app.core.config import settings
4
 
5
  app = FastAPI(title=settings.PROJECT_NAME, version=settings.PROJECT_VERSION)
 
1
  from fastapi import FastAPI
2
+ from api.v1.endpoints import predict
3
  from app.core.config import settings
4
 
5
  app = FastAPI(title=settings.PROJECT_NAME, version=settings.PROJECT_VERSION)