Allowing users to edit my json file via python

Hello. I have a simple chatbot that uses an intents.json file to operate. If the bot doesn’t have an answer, the bot ask for it, and saves it into a file called intents.json. However, the update is only temporary and after the user refreshes, the new intents are gone. This doesn’t happen with me though, as I am the owner. Why, and how can I fix this?

Replit Profile:

This is because, on the cover page it essentially makes a fork of the original, so no changes persist. I recommend using replit db instead of a json file, as it is more efficient and will solve your problem. It also uses json.