Jason Caro commited on
Commit
0cf2500
·
1 Parent(s): 4bad312

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -41,7 +41,7 @@ async def init():
41
  aerodynamic_drag_data = f.read()
42
 
43
  # Split the text into smaller chunks
44
- documents = text_splitter.transform_documents([aerodynamic_drag_data])
45
 
46
  # Create a local file store for caching
47
  store = LocalFileStore("./cache/")
 
41
  aerodynamic_drag_data = f.read()
42
 
43
  # Split the text into smaller chunks
44
+ documents = text_splitter.create_documents([aerodynamic_drag_data])
45
 
46
  # Create a local file store for caching
47
  store = LocalFileStore("./cache/")