Spaces:
Runtime error

runtime error

Container logs:

2022-05-23 01:48:07.962905: W tensorflow/stream_executor/platform/default/dso_loader.cc:64] Could not load dynamic library 'libcudart.so.11.0'; dlerror: libcudart.so.11.0: cannot open shared object file: No such file or directory
2022-05-23 01:48:07.962943: I tensorflow/stream_executor/cuda/cudart_stub.cc:29] Ignore above cudart dlerror if you do not have a GPU set up on your machine.
/home/user/.local/lib/python3.8/site-packages/tensorflow_addons/utils/ensure_tf_install.py:53: UserWarning: Tensorflow Addons supports using Python ops for all Tensorflow versions above or equal to 2.7.0 and strictly below 2.10.0 (nightly versions are not supported). 
 The versions of TensorFlow you are currently using is 2.6.0 and is not supported. 
Some things might work, some things might not.
If you were to encounter a bug, do not file an issue.
If you want to make sure you're using a tested and supported configuration, either change the TensorFlow version or the TensorFlow Addons's version. 
You can find the compatibility matrix in TensorFlow Addon's readme:
https://github.com/tensorflow/addons
  warnings.warn(
Traceback (most recent call last):
  File "app.py", line 7, in <module>
    from tensorflow_tts.inference import TFAutoModel
  File "/home/user/.local/lib/python3.8/site-packages/tensorflow_tts/inference/__init__.py", line 1, in <module>
    from tensorflow_tts.inference.auto_model import TFAutoModel
  File "/home/user/.local/lib/python3.8/site-packages/tensorflow_tts/inference/auto_model.py", line 24, in <module>
    from tensorflow_tts.configs import (
  File "/home/user/.local/lib/python3.8/site-packages/tensorflow_tts/configs/__init__.py", line 1, in <module>
    from tensorflow_tts.configs.base_config import BaseConfig
  File "/home/user/.local/lib/python3.8/site-packages/tensorflow_tts/configs/base_config.py", line 21, in <module>
    from tensorflow_tts.utils.utils import CONFIG_FILE_NAME
  File "/home/user/.local/lib/python3.8/site-packages/tensorflow_tts/utils/__init__.py", line 11, in <module>
    from tensorflow_tts.utils.decoder import dynamic_decode
  File "/home/user/.local/lib/python3.8/site-packages/tensorflow_tts/utils/decoder.py", line 19, in <module>
    from tensorflow_addons.seq2seq import Decoder
  File "/home/user/.local/lib/python3.8/site-packages/tensorflow_addons/__init__.py", line 21, in <module>
    from tensorflow_addons import activations
  File "/home/user/.local/lib/python3.8/site-packages/tensorflow_addons/activations/__init__.py", line 17, in <module>
    from tensorflow_addons.activations.gelu import gelu
  File "/home/user/.local/lib/python3.8/site-packages/tensorflow_addons/activations/gelu.py", line 19, in <module>
    from tensorflow_addons.utils.types import TensorLike
  File "/home/user/.local/lib/python3.8/site-packages/tensorflow_addons/utils/types.py", line 24, in <module>
    from keras.engine import keras_tensor
  File "/home/user/.local/lib/python3.8/site-packages/keras/__init__.py", line 24, in <module>
    from keras import models
  File "/home/user/.local/lib/python3.8/site-packages/keras/models/__init__.py", line 18, in <module>
    from keras.engine.functional import Functional
  File "/home/user/.local/lib/python3.8/site-packages/keras/engine/functional.py", line 24, in <module>
    from keras.dtensor import layout_map as layout_map_lib
  File "/home/user/.local/lib/python3.8/site-packages/keras/dtensor/__init__.py", line 22, in <module>
    from tensorflow.compat.v2.experimental import dtensor as dtensor_api  # pylint: disable=g-import-not-at-top
ImportError: cannot import name 'dtensor' from 'tensorflow.compat.v2.experimental' (/home/user/.local/lib/python3.8/site-packages/tensorflow/_api/v2/compat/v2/experimental/__init__.py)