Arpit-Bansal commited on
Commit
c26aebe
·
1 Parent(s): 4a20618

fixing prod bug

Browse files
Files changed (1) hide show
  1. main.py +1 -4
main.py CHANGED
@@ -43,7 +43,4 @@ async def generate_embeddings(file: UploadFile = File(...)):
43
 
44
  @app.get("/")
45
  async def root():
46
- return {"message": "Welcome to Medical Image Embedding Generator API. Use /embeddings endpoint to upload images."}
47
-
48
- if __name__ == "__main__":
49
- uvicorn.run(app, host="0.0.0.0", port=8000)
 
43
 
44
  @app.get("/")
45
  async def root():
46
+ return {"message": "Welcome to Medical Image Embedding Generator API. Use /embeddings endpoint to upload images."}