pn23 commited on
Commit
6d29abe
·
1 Parent(s): 0fc23c4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -4
app.py CHANGED
@@ -46,10 +46,6 @@ llm = ChatOpenAI(
46
  streaming=True
47
  )
48
 
49
- # load the document and split it into chunks
50
- loader = TextLoader("/content/shermaissian_how_to.txt")
51
- documents = loader.load()
52
-
53
  # split it into chunks
54
  text_splitter = CharacterTextSplitter(chunk_size=1000, chunk_overlap=0)
55
  docs = text_splitter.split_documents(documents)
 
46
  streaming=True
47
  )
48
 
 
 
 
 
49
  # split it into chunks
50
  text_splitter = CharacterTextSplitter(chunk_size=1000, chunk_overlap=0)
51
  docs = text_splitter.split_documents(documents)