runtime error
Exit code: 1. Reason: tentanto encontrar o tokenizador de frases do NLTK... Traceback (most recent call last): File "/home/user/app/utils/rag_retriever.py", line 14, in <module> nltk.data.find('tokenizers/punkt') or nltk.download('tokenizers/punkt_tab') File "/usr/local/lib/python3.10/site-packages/nltk/data.py", line 583, in find raise LookupError(resource_not_found) LookupError: ********************************************************************** Resource [93mpunkt[0m not found. Please use the NLTK Downloader to obtain the resource: [31m>>> import nltk >>> nltk.download('punkt') [0m For more information see: https://www.nltk.org/data.html Attempted to load [93mtokenizers/punkt[0m Searched in: - '/home/user/nltk_data' - '/usr/local/nltk_data' - '/usr/local/share/nltk_data' - '/usr/local/lib/nltk_data' - '/usr/share/nltk_data' - '/usr/local/share/nltk_data' - '/usr/lib/nltk_data' - '/usr/local/lib/nltk_data' ********************************************************************** During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/user/app/app.py", line 3, in <module> from pages.main import view as main_page File "/home/user/app/pages/main/view.py", line 8, in <module> from utils.rag_retriever import initialize_rag_system File "/home/user/app/utils/rag_retriever.py", line 15, in <module> except nltk.downloader.DownloadError: AttributeError: module 'nltk.downloader' has no attribute 'DownloadError'. Did you mean: 'Downloader'?
Container logs:
Fetching error logs...