ArissBandoss commited on
Commit
488bb16
·
verified ·
1 Parent(s): fb3e214

Update goai_helpers/goai_traduction.py

Browse files
Files changed (1) hide show
  1. goai_helpers/goai_traduction.py +1 -1
goai_helpers/goai_traduction.py CHANGED
@@ -12,7 +12,7 @@ login(token=auth_token)
12
 
13
 
14
  @spaces.GPU
15
- def goai_traduction_debug(text, src_lang, tgt_lang):
16
  device = torch.device("cuda" if torch.cuda.is_available() else "cpu")
17
 
18
  if src_lang == "fra_Latn" and tgt_lang == "mos_Latn":
 
12
 
13
 
14
  @spaces.GPU
15
+ def goai_traduction(text, src_lang, tgt_lang):
16
  device = torch.device("cuda" if torch.cuda.is_available() else "cpu")
17
 
18
  if src_lang == "fra_Latn" and tgt_lang == "mos_Latn":