Hei-Ha commited on
Commit
4b6969c
1 Parent(s): 8b8dc5c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -12,6 +12,7 @@ pipe = pipeline("translation", model=model_name, tokenizer=tokenizer)
12
 
13
 
14
 
 
15
  def getTranslateResult(inputTextValue):
16
  testRes = pipe(inputTextValue)
17
  return testRes[0]["translation_text"]
 
12
 
13
 
14
 
15
+
16
  def getTranslateResult(inputTextValue):
17
  testRes = pipe(inputTextValue)
18
  return testRes[0]["translation_text"]