TiberiuCristianLeon commited on
Commit
f14d478
·
verified ·
1 Parent(s): e4e3bf4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -58,7 +58,7 @@ class Translators:
58
  translation = pipe(self.input_text)
59
  return translation[0]['translation_text']
60
 
61
- def quickmt(self)
62
  from quickmt import Translator
63
  # Auto-detects GPU, set to "cpu" to force CPU inference
64
  translation = Translator(f"./quickmt-{self.sl}-{self.tl}/", device="auto")
 
58
  translation = pipe(self.input_text)
59
  return translation[0]['translation_text']
60
 
61
+ def quickmt(self):
62
  from quickmt import Translator
63
  # Auto-detects GPU, set to "cpu" to force CPU inference
64
  translation = Translator(f"./quickmt-{self.sl}-{self.tl}/", device="auto")