davda54 commited on
Commit
374ff5c
1 Parent(s): a38f207

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -116,7 +116,7 @@ def translate(source, source_language, target_language):
116
  #temperature=0.3,
117
  num_beams=1,
118
  #use_cache=True,
119
- logits_processor=[RepetitionPenaltyLogitsProcessor(1.0, model)]
120
  # num_beams=4,
121
  # early_stopping=True,
122
  do_sample=False,
 
116
  #temperature=0.3,
117
  num_beams=1,
118
  #use_cache=True,
119
+ logits_processor=[RepetitionPenaltyLogitsProcessor(1.0, model)],
120
  # num_beams=4,
121
  # early_stopping=True,
122
  do_sample=False,