Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -18,9 +18,6 @@ def get_text_chunks(text):
|
|
| 18 |
)
|
| 19 |
chunks = text_splitter.split_text(text)
|
| 20 |
return chunks
|
| 21 |
-
except Exception as e:
|
| 22 |
-
st.error(f"Error in get_text_chunks: {e}")
|
| 23 |
-
return []
|
| 24 |
|
| 25 |
def get_pdf_text(pdf_docs):
|
| 26 |
text = ""
|
|
|
|
| 18 |
)
|
| 19 |
chunks = text_splitter.split_text(text)
|
| 20 |
return chunks
|
|
|
|
|
|
|
|
|
|
| 21 |
|
| 22 |
def get_pdf_text(pdf_docs):
|
| 23 |
text = ""
|