riu-rd commited on
Commit
ad7c127
1 Parent(s): e77c7f8

Update api.py

Browse files
Files changed (1) hide show
  1. api.py +1 -1
api.py CHANGED
@@ -38,7 +38,7 @@ def remove_unknown_symbols(text):
38
  # Replace unknown symbols with an empty string
39
  cleaned_text = re.sub(pattern, '', text)
40
  # Truncate the text if its length exceeds 1020 characters
41
- return cleaned_text[:1020]
42
 
43
  # APIs
44
  @app.get("/")
 
38
  # Replace unknown symbols with an empty string
39
  cleaned_text = re.sub(pattern, '', text)
40
  # Truncate the text if its length exceeds 1020 characters
41
+ return cleaned_text # [:1020]
42
 
43
  # APIs
44
  @app.get("/")