runtime error
Exit code: 1. Reason: Error importing huggingface_hub.hub_mixin: No module named 'torch' Error importing huggingface_hub.keras_mixin: No module named 'torch' Traceback (most recent call last): File "/home/user/app/app.py", line 2, in <module> from huggingface_hub import from_pretrained_keras File "/usr/local/lib/python3.10/site-packages/huggingface_hub/__init__.py", line 547, in __getattr__ submod = importlib.import_module(submod_path) 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/huggingface_hub/keras_mixin.py", line 10, in <module> from huggingface_hub import ModelHubMixin, snapshot_download File "/usr/local/lib/python3.10/site-packages/huggingface_hub/__init__.py", line 547, in __getattr__ submod = importlib.import_module(submod_path) 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/huggingface_hub/hub_mixin.py", line 47, in <module> from safetensors.torch import load_model as load_model_as_safetensor File "/usr/local/lib/python3.10/site-packages/safetensors/torch.py", line 6, in <module> import torch ModuleNotFoundError: No module named 'torch'
Container logs:
Fetching error logs...