OSError: Unable to open file (file signature not found)

OSError: Unable to open file (file signature not found)

Traceback:

File "/app/.heroku/python/lib/python3.9/site-packages/streamlit/scriptrunner/script_runner.py", line 443, in _run_script
    exec(code, module.__dict__)File "/app/rps_app.py", line 21, in <module>
    model = tf.keras.models.load_model('my__model.hdf5')File "/app/.heroku/python/lib/python3.9/site-packages/keras/utils/traceback_utils.py", line 67, in error_handler
    raise e.with_traceback(filtered_tb) from NoneFile "/app/.heroku/python/lib/python3.9/site-packages/h5py/_hl/files.py", line 507, in __init__
    fid = make_fid(name, mode, userblock_size, fapl, fcpl, swmr=swmr)File "/app/.heroku/python/lib/python3.9/site-packages/h5py/_hl/files.py", line 220, in make_fid
    fid = h5f.open(name, flags, fapl=fapl)File "h5py/_objects.pyx", line 54, in h5py._objects.with_phil.wrapperFile "h5py/_objects.pyx", line 55, in h5py._objects.with_phil.wrapperFile "h5py/h5f.pyx", line 106, in h5py.h5f.open

Hi @sarthakgarg77, welcome to the Streamlit community!

Can you provide the code snippet that demonstrates this behavior?

Best,
Randy