kensvin commited on
Commit
27e0ec6
1 Parent(s): 286516b

Update libraries

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -3,11 +3,11 @@ from urllib.parse import urlparse, parse_qs
3
  import pandas as pd
4
  import unicodedata as uni
5
  import emoji
6
- from langchain.chat_models import ChatOpenAI
7
- from langchain.embeddings import HuggingFaceEmbeddings
8
- from langchain.document_loaders import DataFrameLoader
9
  from langchain.text_splitter import RecursiveCharacterTextSplitter
10
- from langchain.vectorstores import FAISS
11
  from langchain.chains import RetrievalQA
12
  from tokopedia import request_product_id, request_product_review
13
  import gradio as gr
 
3
  import pandas as pd
4
  import unicodedata as uni
5
  import emoji
6
+ from langchain_community.chat_models import ChatOpenAI
7
+ from langchain_community.embeddings import HuggingFaceEmbeddings
8
+ from langchain_community.document_loaders import DataFrameLoader
9
  from langchain.text_splitter import RecursiveCharacterTextSplitter
10
+ from langchain_community.vectorstores import FAISS
11
  from langchain.chains import RetrievalQA
12
  from tokopedia import request_product_id, request_product_review
13
  import gradio as gr