AnishKumbhar commited on
Commit
9396581
1 Parent(s): 89ad13d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -32,7 +32,7 @@ async def predict_endpoint(image: UploadFile):
32
  return {"prediction": prediction}
33
 
34
  # Start the FastAPI app
35
- if _name_ == "_main_":
36
  import uvicorn
37
 
38
  uvicorn.run(app, host="0.0.0.0", port=8000)
 
32
  return {"prediction": prediction}
33
 
34
  # Start the FastAPI app
35
+ if __name__ == "__main__":
36
  import uvicorn
37
 
38
  uvicorn.run(app, host="0.0.0.0", port=8000)