mbarnig commited on
Commit
65ba3b7
β€’
1 Parent(s): 87667c1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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 model, tokenizer
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)