Skip to content

Commit

Permalink
Simplify structure
Browse files Browse the repository at this point in the history
  • Loading branch information
vishall committed Feb 1, 2022
1 parent b2d1584 commit 5e04005
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,7 @@ async def recommend_file(
print("File received.")
print(pdf.content_type)
print(pdf.filename)
in_text = parse.tika_parse.parse_text(pdf)
in_text = parse.tika_parse(pdf)
print(in_text)
return run_predict(
request, time.time(), in_text, size, start_from, vectorizer_types, index_types
Expand Down

0 comments on commit 5e04005

Please sign in to comment.