How to keep a Streamlit-based index running on my VM?

Hi everyone,

I’ve forked the the LlamaIndex Template, made some minor changes to test it and deployed it to my VM. The main idea of this template is that it indexes a PDF and then gives you a simple Chatbot where you can ask questions about its content. But sadly, whenever I try to open the direct link to the deployed page on my browser, the site is either unavailable or is indexing the pdf from the start again.

How do I a) keep it running and b) make sure it’s only indexing once and simpy answers the questions about the PDF?

Thanks in advance :slight_smile:

Can you provide us with a link to your repl?

https://replit.com/@TilmanDietrich/LlamaIndex-QandA-Question-Answering-System?v=1

1 Like

Hey @TilmanDietrich!

Can you please send me the link to the Repl and the URL of the Deployment so I can take a look?