alejandro-ao / ask-multiple-pdfs

A Langchain app that allows you to chat with multiple PDFs
1.66k stars 940 forks source link

TypeError: 'NoneType' object is not callable #49

Open mahmoudsoroor opened 9 months ago

mahmoudsoroor commented 9 months ago

TypeError: 'NoneType' object is not callable Traceback: File "C:\Users\2021\anaconda3\Lib\site-packages\streamlit\runtime\scriptrunner\script_runner.py", line 534, in _run_script exec(code, module.dict) File "E:\project_LLM\my_project_LLM\Chat with multiple PDFS\app.py", line 114, in main() File "E:\project_LLM\my_project_LLM\Chat with multiple PDFS\app.py", line 85, in main handle_userinput(user_question) File "E:\project_LLM\my_project_LLM\Chat with multiple PDFS\app.py", line 57, in handle_userinput response = st.session_state.conversation({'question': user_question})

leihuayi commented 4 months ago
  1. Remember to click on "process" after having uploaded your documents before asking the question
  2. If the session is opened for a time too long this error can occur