Update app.py
Browse files
app.py
CHANGED
@@ -4,6 +4,7 @@ from langchain.llms import OpenAI
|
|
4 |
from langchain.chains.question_answering import load_qa_chain
|
5 |
import os
|
6 |
import fitz
|
|
|
7 |
|
8 |
def preprocess(text):
|
9 |
text = text.replace('\n', '')
|
|
|
4 |
from langchain.chains.question_answering import load_qa_chain
|
5 |
import os
|
6 |
import fitz
|
7 |
+
import re
|
8 |
|
9 |
def preprocess(text):
|
10 |
text = text.replace('\n', '')
|