Can't Deploy App

The app works on my local machine, but I’m getting the following errors:

WARNING: You are using pip version 21.0.1; however, version 21.1 is available.

You should consider upgrading via the ‘/home/appuser/venv/bin/python -m pip install --upgrade pip’ command.

[manager] Python dependencies were installed from /app/nlp/requirements.txt using pip.

[manager] Processed dependencies!

2021-04-25 00:16:32.001 An update to the [server] config option section was detected. To have these changes be reflected, please restart streamlit.

2021-04-25 00:16:32.941680: W tensorflow/stream_executor/platform/default/dso_loader.cc:60] Could not load dynamic library ‘libcudart.so.11.0’; dlerror: libcudart.so.11.0: cannot open shared object file: No such file or directory

2021-04-25 00:16:32.941736: I tensorflow/stream_executor/cuda/cudart_stub.cc:29] Ignore above cudart dlerror if you do not have a GPU set up on your machine.

2021-04-25 00:16:34.826 generated new fontManager

[client] Connecting…

Downloading 1N41xP8pafnqKw-snk7d03Popq0l4XUMB into /app/nlp/svm_fasttext_model.pkl… [2021-04-25 00:17:04.932422] [nltk_data] Downloading package stopwords to

[nltk_data] /home/appuser/nltk_data…

[nltk_data] Unzipping corpora/stopwords.zip.

/app/nlp/NLP_Project.py:106: SettingWithCopyWarning:

A value is trying to be set on a copy of a slice from a DataFrame.

Try using .loc[row_indexer,col_indexer] = value instead

See the caveats in the documentation: Indexing and selecting data — pandas 1.2.4 documentation

line_item_row[k] = line_item_row[k].fillna(choice)

/home/appuser/venv/lib/python3.7/site-packages/sklearn/base.py:315: UserWarning: Trying to unpickle estimator CountVectorizer from version 0.24.0 when using version 0.24.1. This might lead to breaking code or invalid results. Use at your own risk.

UserWarning)

/home/appuser/venv/lib/python3.7/site-packages/sklearn/base.py:315: UserWarning: Trying to unpickle estimator TfidfTransformer from version 0.24.0 when using version 0.24.1. This might lead to breaking code or invalid results. Use at your own risk.

UserWarning)

/home/appuser/venv/lib/python3.7/site-packages/sklearn/base.py:315: UserWarning: Trying to unpickle estimator SGDClassifier from version 0.24.0 when using version 0.24.1. This might lead to breaking code or invalid results. Use at your own risk.

UserWarning)

/home/appuser/venv/lib/python3.7/site-packages/sklearn/base.py:315: UserWarning: Trying to unpickle estimator Pipeline from version 0.24.0 when using version 0.24.1. This might lead to breaking code or invalid results. Use at your own risk.

UserWarning)

2021-04-25 00:17:04.931 precomputing L2-norms of word weight vectors

2021-04-25 00:17:04.933 precomputing L2-norms of ngram weight vectors

2021-04-25 00:17:07.557 could not extract any ngrams from ‘’, returning origin vector

[manager] Streamlit server consistently failed status checks

[manager] Please fix the errors, push an update to the git repo, or reboot the app.