Skip to content
This repository has been archived by the owner on Oct 26, 2023. It is now read-only.

Commit

Permalink
Fixed typo
Browse files Browse the repository at this point in the history
  • Loading branch information
rtrevinnoc committed Feb 21, 2021
1 parent cc5270e commit f2106a5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion future.py
Original file line number Diff line number Diff line change
Expand Up @@ -406,7 +406,7 @@ def answer(query: str, page: int) -> jsonify:
query = queryBeforePreprocessing
query = query.lower().strip()
if queryLanguage != "en":
translator = Translator(from_lang=queryLanguage. to_lang="en")
translator = Translator(from_lang=queryLanguage, to_lang="en")
query = translator.translate(query)
try:
q_vec = getSentenceMeanVector(query)
Expand Down
1 change: 1 addition & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -33,3 +33,4 @@ uWSGI==2.0.19.1
Werkzeug==0.16.1
wordnet==0.0.1b2
WTForms==2.3.3
translate=3.5.0

0 comments on commit f2106a5

Please sign in to comment.