Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -142,7 +142,7 @@ def main():
|
|
142 |
|
143 |
if st.button("Process and build Model"):
|
144 |
with st.spinner("Processing"):
|
145 |
-
|
146 |
# get the text chunks
|
147 |
text_chunks = get_text_chunks(raw_text)
|
148 |
# create vector store
|
|
|
142 |
|
143 |
if st.button("Process and build Model"):
|
144 |
with st.spinner("Processing"):
|
145 |
+
raw_text=get_pdf_text_fa_en(pdf_docs=pdf_docs)
|
146 |
# get the text chunks
|
147 |
text_chunks = get_text_chunks(raw_text)
|
148 |
# create vector store
|