Spaces:
Running
on
T4
Running
on
T4
Add dtype
Browse files
app.py
CHANGED
@@ -43,6 +43,7 @@ translator = Translator(
|
|
43 |
model_name_or_card="seamlessM4T_large",
|
44 |
vocoder_name_or_card="vocoder_36langs",
|
45 |
device=device,
|
|
|
46 |
)
|
47 |
|
48 |
|
|
|
43 |
model_name_or_card="seamlessM4T_large",
|
44 |
vocoder_name_or_card="vocoder_36langs",
|
45 |
device=device,
|
46 |
+
dtype=torch.float16,
|
47 |
)
|
48 |
|
49 |
|