Update app.py
Browse files
app.py
CHANGED
@@ -50,7 +50,7 @@ def customization(myModel, direc):
|
|
50 |
# model = AutoModelForSeq2SeqLM.from_pretrained("mbarnig/T5-mt5-taboeta-en-lb")
|
51 |
else:
|
52 |
print("Please select a Translation Model !")
|
53 |
-
return
|
54 |
|
55 |
def iwwersetz(source_text, model, direc):
|
56 |
translator = customization(model, direc)
|
|
|
50 |
# model = AutoModelForSeq2SeqLM.from_pretrained("mbarnig/T5-mt5-taboeta-en-lb")
|
51 |
else:
|
52 |
print("Please select a Translation Model !")
|
53 |
+
return myModel
|
54 |
|
55 |
def iwwersetz(source_text, model, direc):
|
56 |
translator = customization(model, direc)
|