Raghavan1988 commited on
Commit
092ead9
1 Parent(s): c5fff41

removing the lines of code that loads the model

Browse files
Files changed (1) hide show
  1. app.py +0 -3
app.py CHANGED
@@ -22,9 +22,6 @@ DEFAULT_TARGET_LANGUAGE = "English"
22
 
23
  device = torch.device("cuda:0" if torch.cuda.is_available() else "cpu")
24
 
25
- processor = AutoProcessor.from_pretrained("ylacombe/hf-seamless-m4t-large")
26
- model = SeamlessM4TModel.from_pretrained("ylacombe/hf-seamless-m4t-large").to(device)
27
-
28
  from lang_list import (
29
  LANGUAGE_NAME_TO_CODE,
30
  S2ST_TARGET_LANGUAGE_NAMES,
 
22
 
23
  device = torch.device("cuda:0" if torch.cuda.is_available() else "cpu")
24
 
 
 
 
25
  from lang_list import (
26
  LANGUAGE_NAME_TO_CODE,
27
  S2ST_TARGET_LANGUAGE_NAMES,