Thank you for suggestion. I implemented it (see github repo) but did not work. I got the following error:
OSError: No file or directory found at /saved_model
Please advise …
Update: I figured it out! I saved the model as a .h5 file directly instead of using SavedModel; this allowed the cloud deployment to work!
Link 2: https://discuss.streamlit.io/t/oserror-savedmodel-file-does-not-exist-at/12985
