bvd757 commited on
Commit
5c656e8
·
1 Parent(s): 4a7c0ee

no replace

Browse files
Files changed (1) hide show
  1. search_errors_logic.py +2 -1
search_errors_logic.py CHANGED
@@ -178,7 +178,8 @@ def add_comments_to_text(text, errors, add_errors=False):
178
  error["end"] += len(inp)
179
  shift += len(inp)
180
 
181
- return text.replace("\n", " ")
 
182
 
183
 
184
  def check_text(text, tool, mode="chat_gpt", highlight_mode=False, add_errors=False):
 
178
  error["end"] += len(inp)
179
  shift += len(inp)
180
 
181
+ return text
182
+ #return text.replace("\n", " ")
183
 
184
 
185
  def check_text(text, tool, mode="chat_gpt", highlight_mode=False, add_errors=False):