chalisesagun commited on
Commit
0312573
Β·
verified Β·
1 Parent(s): 16e1dbb

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -6
app.py CHANGED
@@ -1,12 +1,12 @@
1
  import os
2
  import tempfile
3
  import streamlit as st
4
- from langchain.document_loaders import PyPDFLoader
5
- from langchain.text_splitter import RecursiveCharacterTextSplitter
6
- from langchain.embeddings import HuggingFaceEmbeddings
7
- from langchain.vectorstores import FAISS
8
- from langchain.chains import RetrievalQA
9
- from langchain.chat_models import ChatOpenAI
10
 
11
  # Streamlit App Title
12
  st.title("πŸ“„ DeepSeek-Powered RAG Chatbot")
 
1
  import os
2
  import tempfile
3
  import streamlit as st
4
+ from langchain_community.document_loaders import PyPDFLoader
5
+ from langchain_community.text_splitter import RecursiveCharacterTextSplitter
6
+ from langchain_community.embeddings import HuggingFaceEmbeddings
7
+ from langchain_community.vectorstores import FAISS
8
+ from langchain_community.chains import RetrievalQA
9
+ from langchain_community.chat_models import ChatOpenAI
10
 
11
  # Streamlit App Title
12
  st.title("πŸ“„ DeepSeek-Powered RAG Chatbot")