Unityraptor commited on
Commit
1a4d973
1 Parent(s): 4da2e1d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -10,7 +10,7 @@ tokenizer = AutoTokenizer.from_pretrained("humarin/chatgpt_paraphraser_on_T5_bas
10
  model = AutoModelForSeq2SeqLM.from_pretrained("humarin/chatgpt_paraphraser_on_T5_base").to(device)
11
 
12
  #translator = pipeline("translation", model="facebook/nllb-200-distilled-600M")
13
- translator = pipeline("translation", model="google-t5/t5-large")
14
 
15
  def paraphrase(
16
  question,
 
10
  model = AutoModelForSeq2SeqLM.from_pretrained("humarin/chatgpt_paraphraser_on_T5_base").to(device)
11
 
12
  #translator = pipeline("translation", model="facebook/nllb-200-distilled-600M")
13
+ translator = pipeline("translation_en_to_fr", model="google-t5/t5-large")
14
 
15
  def paraphrase(
16
  question,