SumayyaAli commited on
Commit
11ef280
1 Parent(s): 6299c02

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -1,6 +1,6 @@
1
  import streamlit as st
2
- from langchain.text_splitter import RecursiveCharacterTextSplitter
3
- from langchain.document_loaders import PyPDFLoader
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