Bils commited on
Commit
eaf7133
·
verified ·
1 Parent(s): 313f53e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -1,4 +1,4 @@
1
- # import os
2
  import re
3
  import torch
4
  import tempfile
@@ -39,7 +39,7 @@ def clean_text(text: str) -> str:
39
  """
40
  Removes undesired characters (e.g., asterisks) that might not be recognized by the model's vocabulary.
41
  """
42
- # Remove all asterisks. You can add more cleaning steps here as needed.
43
  return re.sub(r'\*', '', text)
44
 
45
  # ---------------------------------------------------------------------
 
1
+ import os
2
  import re
3
  import torch
4
  import tempfile
 
39
  """
40
  Removes undesired characters (e.g., asterisks) that might not be recognized by the model's vocabulary.
41
  """
42
+ # Remove all asterisks.
43
  return re.sub(r'\*', '', text)
44
 
45
  # ---------------------------------------------------------------------