Update app.py
Browse files
app.py
CHANGED
@@ -33,7 +33,6 @@ def text_extract(file):
|
|
33 |
text += page.extract_text()
|
34 |
text_splitter=text_splitter_function(text);
|
35 |
result=response_from_bot(text_splitter)
|
36 |
-
print(result)
|
37 |
return result
|
38 |
def response_from_bot(text_splitter):
|
39 |
db = FAISS.from_texts(text_splitter, embeddings);
|
|
|
33 |
text += page.extract_text()
|
34 |
text_splitter=text_splitter_function(text);
|
35 |
result=response_from_bot(text_splitter)
|
|
|
36 |
return result
|
37 |
def response_from_bot(text_splitter):
|
38 |
db = FAISS.from_texts(text_splitter, embeddings);
|