wilmerags commited on
Commit
9d2c094
·
1 Parent(s): f36230b

fix: Fix ident of preprocessing functions

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -43,7 +43,7 @@ def _remove_urls(txt_list: List[str]):
43
  def _remove_punctuation(txt_list: List[str]):
44
  punctuation = string.punctuation + '¿¡|'
45
  txt_list = [tweet.split(' ') for tweet in txt_list]
46
- return [' '.join([word.translate(str.maketrans('', '', punctuation)) for word in tweet]) for tweet in txt_list]
47
 
48
  preprocess_pipeline = [
49
  _remove_unk_chars,
 
43
  def _remove_punctuation(txt_list: List[str]):
44
  punctuation = string.punctuation + '¿¡|'
45
  txt_list = [tweet.split(' ') for tweet in txt_list]
46
+ return [' '.join([word.translate(str.maketrans('', '', punctuation)) for word in tweet]) for tweet in txt_list]
47
 
48
  preprocess_pipeline = [
49
  _remove_unk_chars,