App doesn't deploy in Streamlit Sharing - Possible issue with deploying PyTorch

Hi Randy

So as discussed I’ve tried a lighter model

the app did work once (horray!) however it’s not working anymore, and I’ve got a similar error:
1. Error checking Streamlit healthz: Get "http://localhost:8501/healthz": dial tcp 127.0.0.1:8501: connect: connection refused

Log trace: https://pastebin.com/7jT96YXj

So it looks like this may still be a memory related issue on S4.

Not sure if there would be any sort of workaround if it is indeed memory related, as I believe that this Transformers model is the lightest available in the HuggingFace Library

Note that the app/repo are different from the ones I shared on Monday

Thanks,
Charly

cc: @amey-st