Spaces:
Runtime error
Runtime error
Commit
·
c8ef5d9
1
Parent(s):
6ade7cf
Update main.py
Browse files
main.py
CHANGED
|
@@ -234,7 +234,7 @@ async def read_root(request:Request):
|
|
| 234 |
return "OTP verified succesufully "
|
| 235 |
else:
|
| 236 |
return "OTP Code is wrong "
|
| 237 |
-
|
| 238 |
raise HTTPException(status_code=400, detail="Missing email value")
|
| 239 |
|
| 240 |
@app.post("/predict")
|
|
|
|
| 234 |
return "OTP verified succesufully "
|
| 235 |
else:
|
| 236 |
return "OTP Code is wrong "
|
| 237 |
+
else:
|
| 238 |
raise HTTPException(status_code=400, detail="Missing email value")
|
| 239 |
|
| 240 |
@app.post("/predict")
|