Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TypeError: 'NoneType' object is not callable #49

Open
mahmoudsoroor opened this issue Jan 7, 2024 · 1 comment
Open

TypeError: 'NoneType' object is not callable #49

mahmoudsoroor opened this issue Jan 7, 2024 · 1 comment

Comments

@mahmoudsoroor
Copy link

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
Copy link

leihuayi commented Jun 5, 2024

  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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants