Going fast! #DataquestChallenge Premium Annual Offer:
500 get 50% & the next 1000 get 40% off.
GET OFFER CODE

HELP: Error in Sentiment Analysis Web App

I’m Working on a Sentiment Analysis Web app through Streamlit.
Error is->

   AttributeError: module '__main__' has no attribute 'text_cleaning'
    Traceback:
    File "/usr/local/lib/python3.7/dist-packages/streamlit/script_runner.py", line 337, in _run_script
        exec(code, module.__dict__)
    File "/content/app.py", line 17, in <module>
        app()
    File "/content/app.py", line 8, in app
        model21 = joblib.load('Sentia2')
    File "/usr/local/lib/python3.7/dist-packages/joblib/numpy_pickle.py", line 585, in load
        obj = _unpickle(fobj, filename, mmap_mode)
    File "/usr/local/lib/python3.7/dist-packages/joblib/numpy_pickle.py", line 504, in _unpickle
        obj = unpickler.load()
    File "/usr/lib/python3.7/pickle.py", line 1088, in load
        dispatch[key[0]](self)
    File "/usr/lib/python3.7/pickle.py", line 1376, in load_global
        klass = self.find_class(module, name)
    File "/usr/lib/python3.7/pickle.py", line 1430, in find_class
        return getattr(sys.modules[module], name)

In the web app.
NOTE: The model is predicting fine. But Web App deployment is having issue

Kindly help me with this:
Google Colab link-> Google Colaboratory

Your Help Is greatly appreciated :slightly_smiling_face:

Provide your suggestion here.