Deployed streamlit app keeps crashing while interacting

I developed an app that is running properly on local machine without issue. I managed to start the app as well and dependencies installed successfully. But when trying to interact with the app it keeps crashing. If someone can take a look and provide some suggestion would appreciate it.

  1. Link to the public app
  2. Link to your app’s public GitHub repository
  3. Full text of the error message
[17:26:10] πŸ“¦ Processed dependencies!
config.json: 100%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ| 779/779 [00:00<00:00, 3.36MB/s]2-27 17:26:24.816059] 
model.safetensors: 100%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ| 1.34G/1.34G [00:08<00:00, 160MB/s] [2024-02-27 17:26:34.694093] 
tokenizer_config.json: 100%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ| 366/366 [00:00<00:00, 1.45MB/s]2-27 17:26:36.891879] 
vocab.txt: 100%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ| 232k/232k [00:00<00:00, 8.00MB/s]-27 17:26:37.095881] 
tokenizer.json: 100%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ| 711k/711k [00:00<00:00, 12.4MB/s]-27 17:26:37.370170] 
special_tokens_map.json: 100%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ| 125/125 [00:00<00:00, 622kB/s]02-27 17:26:37.744809] 
[17:29:58] ❗️ Streamlit server consistently failed status checks
[17:29:58] ❗️ Please fix the errors, push an update to the git repo, or reboot the app.
  1. Python version 3.10

Unfortunately your app needs more memory than what is available in streamlit cloud.

I see, thanks for clarifying that. What options do you propose to try in this case to deploy the app?

There are some resources in the docs: