Exception: Error detected: SavedModel file does not exist

Thank you for the response,

I want to let you know that when I run the app using ‘Streamlit run main.py’ it works fine.
So I think the problem could be that Streamlit share can’t detect large files uploaded in Github using LSF (Large File Storage).

Also, I used the same file format (h5) to save a CNN model and I uploaded it just fine. But it was only file, compared to BERT model I think I have to have two files to save it.

Thanks again for trying to help.