KevanSoon commited on
Commit
8cc1dda
·
1 Parent(s): 3a951e6

adjusted endpoint

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -12,7 +12,7 @@ class ImagesInput(BaseModel):
12
  image1: str
13
  image2: str
14
 
15
- @app.post("/face-recognition/")
16
  async def face_recognition(data: ImagesInput):
17
  # Call the Gradio client predict with the URLs from request body
18
  result = client.predict(
 
12
  image1: str
13
  image2: str
14
 
15
+ @app.post("/face-recognition")
16
  async def face_recognition(data: ImagesInput):
17
  # Call the Gradio client predict with the URLs from request body
18
  result = client.predict(