Update app.py
Browse files
app.py
CHANGED
@@ -32,7 +32,7 @@ def text_extract(file):
|
|
32 |
page = pdf_reader.pages[page_num]
|
33 |
text += page.extract_text()
|
34 |
text_splitter=text_splitter_function(text);
|
35 |
-
result=
|
36 |
return result
|
37 |
def response_from_bot(text_splitter):
|
38 |
db = FAISS.from_texts(text_splitter, embeddings);
|
|
|
32 |
page = pdf_reader.pages[page_num]
|
33 |
text += page.extract_text()
|
34 |
text_splitter=text_splitter_function(text);
|
35 |
+
result='hhhhh'
|
36 |
return result
|
37 |
def response_from_bot(text_splitter):
|
38 |
db = FAISS.from_texts(text_splitter, embeddings);
|