Update app.py
Browse files
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"]
|