0xleec commited on
Commit
7123d7a
1 Parent(s): 05059ec

add .gitignore

Browse files
Files changed (2) hide show
  1. .gitignore +31 -0
  2. app.py +1 -1
.gitignore ADDED
@@ -0,0 +1,31 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Byte-compiled / optimized / DLL files
2
+ __pycache__/
3
+ *.py[cod]
4
+ *$py.class
5
+
6
+ # Local development settings
7
+ .env
8
+ venv/
9
+
10
+ # Log files
11
+ *.log
12
+
13
+ # Build files
14
+ build/
15
+ dist/
16
+ *.egg-info/
17
+
18
+ # Editor files
19
+ .vscode/
20
+ .idea/
21
+
22
+ # System files
23
+ .DS_Store
24
+ Thumbs.db
25
+
26
+ # Other
27
+ *.pyc
28
+ *.bak
29
+ *.swp
30
+ *.swo
31
+ *.DS_Store
app.py CHANGED
@@ -116,7 +116,7 @@ def get_response(text):
116
  # split into chunks
117
  text_splitter = CharacterTextSplitter(
118
  separator="\n",
119
- chunk_size=4000,
120
  chunk_overlap=200,
121
  length_function=len
122
  )
116
  # split into chunks
117
  text_splitter = CharacterTextSplitter(
118
  separator="\n",
119
+ chunk_size=1000,
120
  chunk_overlap=200,
121
  length_function=len
122
  )