KevanSoon
commited on
Commit
·
8cc1dda
1
Parent(s):
3a951e6
adjusted endpoint
Browse files
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(
|