logeswari commited on
Commit
2db1ef3
·
1 Parent(s): 34f5a78
Files changed (2) hide show
  1. Dockerfile +1 -0
  2. app.py +0 -14
Dockerfile CHANGED
@@ -15,3 +15,4 @@ EXPOSE 7860
15
 
16
  # Command to run the application
17
  CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]
 
 
15
 
16
  # Command to run the application
17
  CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]
18
+
app.py DELETED
@@ -1,14 +0,0 @@
1
- from fastapi import FastAPI
2
- from population.api.routes import router
3
- from population.utils.logger import logger
4
-
5
-
6
- app = FastAPI()
7
-
8
- # Include routes
9
- app.include_router(router)
10
-
11
- @app.get("/")
12
- def home():
13
- logger.info("Accessed home endpoint.")
14
- return {"message": "Welcome to the World Population API"}