runtime error

A module that was compiled using NumPy 1.x cannot be run in NumPy 2.0.1 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'. If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2. Traceback (most recent call last): File "/home/user/app/app.py", line 3, in <module> import torchaudio File "/usr/local/lib/python3.10/site-packages/torchaudio/__init__.py", line 1, in <module> from torchaudio import ( # noqa: F401 File "/usr/local/lib/python3.10/site-packages/torchaudio/compliance/__init__.py", line 1, in <module> from . import kaldi File "/usr/local/lib/python3.10/site-packages/torchaudio/compliance/kaldi.py", line 22, in <module> EPSILON = torch.tensor(torch.finfo(torch.float).eps) /usr/local/lib/python3.10/site-packages/torchaudio/compliance/kaldi.py:22: UserWarning: Failed to initialize NumPy: _ARRAY_API not found (Triggered internally at ../torch/csrc/utils/tensor_numpy.cpp:84.) EPSILON = torch.tensor(torch.finfo(torch.float).eps) /usr/local/lib/python3.10/site-packages/huggingface_hub/file_download.py:1150: FutureWarning: `resume_download` is deprecated and will be removed in version 1.0.0. Downloads always resume when possible. If you want to force a new download, use `force_download=True`. warnings.warn( Traceback (most recent call last): File "/home/user/app/app.py", line 58, in <module> gr.Audio(source="upload", type="filepath"), File "/usr/local/lib/python3.10/site-packages/gradio/component_meta.py", line 163, in wrapper return fn(self, **kwargs) TypeError: Audio.__init__() got an unexpected keyword argument 'source'

Container logs:

Fetching error logs...