Spaces:
Sleeping
Sleeping
Ruzzel Mendoza commited on
Commit ·
9beeff1
1
Parent(s): 5315099
rename route name for compare_two_artsworks
Browse files- api/plagiarism.py +1 -1
api/plagiarism.py
CHANGED
|
@@ -122,7 +122,7 @@ async def plagiarism_pipeline(file: UploadFile = File(...)):
|
|
| 122 |
raise HTTPException(500, str(e))
|
| 123 |
|
| 124 |
|
| 125 |
-
@router.post("/
|
| 126 |
async def compare_two_artworks(
|
| 127 |
file1: UploadFile = File(...),
|
| 128 |
file2: UploadFile = File(...)
|
|
|
|
| 122 |
raise HTTPException(500, str(e))
|
| 123 |
|
| 124 |
|
| 125 |
+
@router.post("/compare")
|
| 126 |
async def compare_two_artworks(
|
| 127 |
file1: UploadFile = File(...),
|
| 128 |
file2: UploadFile = File(...)
|