Need help with Streamlit App Deployment

I am new to computer science. I made an app using google.generativeai. The app seems to be working fine when I run it using Streamlit.

I am now trying to use Streamlit Sharing to deploy the app. However, I get this message whenever I do:

[05:53:49] 📦 Processed dependencies!

Collecting usage statistics. To deactivate, set browser.gatherUsageStats to False.

[05:54:04] 🔌 Disconnecting...
[05:54:09] 🖥 Provisioning machine...
[05:54:09] 🎛 Preparing system...
[05:54:09] ⛓ Spinning up manager process...
2023-08-13 05:54:13.086 Uncaught app exception
Traceback (most recent call last):
  File "/home/adminuser/venv/lib/python3.9/site-packages/streamlit/runtime/scriptrunner/", line 552, in _run_script
    exec(code, module.__dict__)
  File "/mount/src/grammarassistantapp/", line 2, in <module>
    import google.generativeai as palm
ModuleNotFoundError: No module named 'google.generativeai'