HUANG-Stephanie commited on
Commit
d2b07a8
1 Parent(s): 45c1bf0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -129,8 +129,8 @@ async def search(query: str, k: int = 1):
129
 
130
  return response
131
 
132
- @app.post("/search_by_cv")
133
- async def search_by_cv(file: UploadFile = File(...), k: int = 10):
134
  content = await file.read()
135
  pdf_image_list = convert_from_bytes(content)
136
 
 
129
 
130
  return response
131
 
132
+ @app.post("/recommendation")
133
+ async def recommendation(file: UploadFile = File(...), k: int = 10):
134
  content = await file.read()
135
  pdf_image_list = convert_from_bytes(content)
136