runtime error

Exit code: 1. Reason: cer already registered. Please check linkage and avoid linking the same target more than once. 2025-08-11 05:25:56.953398: I tensorflow/core/platform/cpu_feature_guard.cc:210] This TensorFlow binary is optimized to use available CPU instructions in performance-critical operations. To enable the following instructions: AVX2 AVX512F AVX512_VNNI FMA, in other operations, rebuild TensorFlow with the appropriate compiler flags. Traceback (most recent call last): File "/usr/local/lib/python3.10/site-packages/transformers/activations_tf.py", line 22, in <module> import tf_keras as keras ModuleNotFoundError: No module named 'tf_keras' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/user/app/app.py", line 2, in <module> from transformers import pipeline, AutoTokenizer, TFBertModel File "<frozen importlib._bootstrap>", line 1075, in _handle_fromlist File "/usr/local/lib/python3.10/site-packages/transformers/utils/import_utils.py", line 2292, in __getattr__ module = self._get_module(self._class_to_module[name]) File "/usr/local/lib/python3.10/site-packages/transformers/utils/import_utils.py", line 2322, in _get_module raise e File "/usr/local/lib/python3.10/site-packages/transformers/utils/import_utils.py", line 2320, in _get_module return importlib.import_module("." + module_name, self.__name__) File "/usr/local/lib/python3.10/importlib/__init__.py", line 126, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "/usr/local/lib/python3.10/site-packages/transformers/models/bert/modeling_tf_bert.py", line 27, in <module> from ...activations_tf import get_tf_activation File "/usr/local/lib/python3.10/site-packages/transformers/activations_tf.py", line 27, in <module> raise ValueError( ValueError: Your currently installed version of Keras is Keras 3, but this is not yet supported in Transformers. Please install the backwards-compatible tf-keras package with `pip install tf-keras`.

Container logs:

Fetching error logs...