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