nafisehNik commited on
Commit
fc2a850
1 Parent(s): a3db831

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -78,7 +78,8 @@ def compute(sample, top_p, top_k, do_sample, max_length, min_length):
78
  '</s>': '',
79
  '<pad> ': '',
80
  '<pad>': '',
81
- '<unk>': ''
 
82
  }
83
 
84
  postprocess_text = generated_text
 
78
  '</s>': '',
79
  '<pad> ': '',
80
  '<pad>': '',
81
+ '<unk>!--': '<!--',
82
+ '<unk>': '',
83
  }
84
 
85
  postprocess_text = generated_text