camenduru commited on
Commit
4a89920
1 Parent(s): 29e6f40

with new code dtype=None works

Browse files

https://github.com/facebookresearch/seamless_communication/blob/89c993cca096d0be0b858664e7e98b4bbf4554a2/src/seamless_communication/models/inference/translator.py#L56C6-L56C6

Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -43,7 +43,7 @@ translator = Translator(
43
  model_name_or_card="seamlessM4T_large",
44
  vocoder_name_or_card="vocoder_36langs",
45
  device=device,
46
- sample_rate=AUDIO_SAMPLE_RATE,
47
  )
48
 
49
 
 
43
  model_name_or_card="seamlessM4T_large",
44
  vocoder_name_or_card="vocoder_36langs",
45
  device=device,
46
+ dtype=None,
47
  )
48
 
49