Update main.py
Browse files
main.py
CHANGED
|
@@ -70,6 +70,6 @@ async def predict(file: UploadFile):
|
|
| 70 |
except Exception as e:
|
| 71 |
raise HTTPException(status_code=500, detail=f"Error during prediction: {str(e)}")
|
| 72 |
|
| 73 |
-
|
| 74 |
-
|
| 75 |
-
|
|
|
|
| 70 |
except Exception as e:
|
| 71 |
raise HTTPException(status_code=500, detail=f"Error during prediction: {str(e)}")
|
| 72 |
|
| 73 |
+
@app.get("/")
|
| 74 |
+
async def root():
|
| 75 |
+
return {"message": "API is up and running!"}
|