Spaces:
Runtime error
Runtime error
SumayyaAli
commited on
Commit
•
7d0a6ff
1
Parent(s):
6e8de10
Update app.py
Browse files
app.py
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
import streamlit as st
|
2 |
-
from
|
3 |
from langchain_community.document_loaders import PyPDFLoader
|
4 |
from transformers import T5Tokenizer, T5ForConditionalGeneration
|
5 |
from transformers import pipeline
|
|
|
1 |
import streamlit as st
|
2 |
+
from langchain.text_splitter import RecursiveCharacterTextSplitter
|
3 |
from langchain_community.document_loaders import PyPDFLoader
|
4 |
from transformers import T5Tokenizer, T5ForConditionalGeneration
|
5 |
from transformers import pipeline
|