fix:

  1. fix ' Translator.init() got an unexpected keyword argument 'sample_rate' ' error.

Hey @alongLFB ! I believe the Space is working as expected?

in https://github.com/facebookresearch/seamless_communication/blob/main/src/seamless_communication/models/inference/translator.py

class Translator(nn.Module):
def init(
self,
model_name_or_card: Union[str, AssetCard],
vocoder_name_or_card: Union[str, AssetCard],
device: Device,
dtype: DataType,
):

there are only these four parameters.

not include 'sample_rate'

could you please check again?

Cannot merge
This branch has merge conflicts in the following files:
  • app.py

Sign up or log in to comment