runtime error

Exit code: 1. Reason: read 'MainThread': missing ScriptRunContext! This warning can be ignored when running in bare mode. 2025-08-28 14:34:07.658 Thread 'MainThread': missing ScriptRunContext! This warning can be ignored when running in bare mode. Traceback (most recent call last): File "/home/user/app/app.py", line 14, in <module> model = load_model() File "/usr/local/lib/python3.10/site-packages/streamlit/runtime/caching/cache_utils.py", line 227, in __call__ return self._get_or_create_cached_value(args, kwargs, spinner_message) File "/usr/local/lib/python3.10/site-packages/streamlit/runtime/caching/cache_utils.py", line 269, in _get_or_create_cached_value return self._handle_cache_miss(cache, value_key, func_args, func_kwargs) File "/usr/local/lib/python3.10/site-packages/streamlit/runtime/caching/cache_utils.py", line 328, in _handle_cache_miss computed_value = self._info.func(*func_args, **func_kwargs) File "/home/user/app/app.py", line 12, in load_model return tf.keras.models.load_model("plant_disease_model.h5") File "/usr/local/lib/python3.10/site-packages/keras/src/saving/saving_api.py", line 196, in load_model return legacy_h5_format.load_model_from_hdf5( File "/usr/local/lib/python3.10/site-packages/keras/src/legacy/saving/legacy_h5_format.py", line 118, in load_model_from_hdf5 f = h5py.File(filepath, mode="r") File "/usr/local/lib/python3.10/site-packages/h5py/_hl/files.py", line 564, in __init__ fid = make_fid(name, mode, userblock_size, fapl, fcpl, swmr=swmr) File "/usr/local/lib/python3.10/site-packages/h5py/_hl/files.py", line 238, in make_fid fid = h5f.open(name, flags, fapl=fapl) File "h5py/_objects.pyx", line 56, in h5py._objects.with_phil.wrapper File "h5py/_objects.pyx", line 57, in h5py._objects.with_phil.wrapper File "h5py/h5f.pyx", line 102, in h5py.h5f.open FileNotFoundError: [Errno 2] Unable to synchronously open file (unable to open file: name = 'plant_disease_model.h5', errno = 2, error message = 'No such file or directory', flags = 0, o_flags = 0)

Container logs:

Fetching error logs...