Can someone please let me know when do we need to add packages.txt file when using Streamlit sharing/deployment?
I had the app working after deployment, but after adding a new library (wikipedia) in my code, it is no longer working after deployment. I get “Whoops - something went wrong! An error has been logged”.
I did a bit of research here on the threads and found that in some cases it is suggested to add packages.txt file, but I am not sure when it is needed and when it is not needed (as my app worked fine prior to me starting to use a new “wikipedia” library).
I tried adding “packages.txt” and placing just “wikipedia” under it, but then I got another error message and the app did not work either.
Here is the link to my repo:
Can someone please advise?
Thank you in advance!