pkraman06 commited on
Commit
c18a5b8
·
verified ·
1 Parent(s): ddb387c

Create helpers.py

Browse files
Files changed (1) hide show
  1. utils/helpers.py +7 -0
utils/helpers.py ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ import textwrap
2
+
3
+
4
+ class Helpers:
5
+ @staticmethod
6
+ def chunk_text(text, chunk_size=500):
7
+ return textwrap.wrap(text, chunk_size)