Deployment Error:installer returned a non-zero exit code

Github repo - GitHub - kaushikann/Document-Assistant: Give PDF as input and ask questions
Deployment error logs

[17:35:02] ❗️ installer returned a non-zero exit code
[17:35:02] ❗️ Error during processing dependencies! Please fix the error and push an update, or try restarting the app.

What’s that langchain-chains supposed to be?

Thank you it worked after removing this.

But I am seeing another issue post deployment, the code is not getting into nested if loop. I want the button “Ask” to be pressed before executing rest of the code. However, it is not even entering inside if loop. Can you check the same repo ?

There is no loop. Anyawy nested buttons cannot work the way you seem to think they do. Take a look at Button behavior and examples.