arnabg95 commited on
Commit
2f94b19
·
1 Parent(s): 63d1aab

verification updated

Browse files
Files changed (2) hide show
  1. __pycache__/app.cpython-310.pyc +0 -0
  2. app.py +1 -1
__pycache__/app.cpython-310.pyc CHANGED
Binary files a/__pycache__/app.cpython-310.pyc and b/__pycache__/app.cpython-310.pyc differ
 
app.py CHANGED
@@ -13,7 +13,7 @@ app = FastAPI()
13
  def greet_json():
14
  return {"Hello": "World!"}
15
 
16
- @app.get("/verify")
17
  def verify(v: Verify) -> bool:
18
  data = v.model_dump()
19
  selfie = data["image"]
 
13
  def greet_json():
14
  return {"Hello": "World!"}
15
 
16
+ @app.post("/verify")
17
  def verify(v: Verify) -> bool:
18
  data = v.model_dump()
19
  selfie = data["image"]