Skip to content

Commit

Permalink
Fix breaking change in nltk 3.9.1 and use punkt_tab instead
Browse files Browse the repository at this point in the history
  • Loading branch information
maximiliansoelch committed Dec 5, 2024
1 parent 2ef204e commit a1a76bb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,6 @@ async def suggest_feedback(exercise: Exercise, submission: Submission, is_graded


if __name__ == "__main__":
nltk.download("punkt")
nltk.download("punkt_tab")
tiktoken.get_encoding("cl100k_base")
app.start()
4 changes: 2 additions & 2 deletions modules/text/module_text_llm/module_text_llm/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,6 @@ async def evaluate_feedback(
return evaluation

if __name__ == "__main__":
nltk.download("punkt")
nltk.download("punkt_tab")
tiktoken.get_encoding("cl100k_base")
app.start()
app.start()

0 comments on commit a1a76bb

Please sign in to comment.