rishisim commited on
Commit
b3f8c65
1 Parent(s): 4dfa7ec

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -15,7 +15,9 @@ from langchain_core.prompts import ChatPromptTemplate
15
  prompt = ChatPromptTemplate.from_template("tell me a joke about {topic}")
16
  chain = prompt | llm | StrOutputParser()
17
 
18
- from langchain.document_loaders.csv_loader import CSVLoader
 
 
19
 
20
  loader = CSVLoader(file_path='aiotsmartlabs_faq.csv', source_column = 'prompt')
21
  data = loader.load()
 
15
  prompt = ChatPromptTemplate.from_template("tell me a joke about {topic}")
16
  chain = prompt | llm | StrOutputParser()
17
 
18
+ # from langchain.document_loaders.csv_loader import CSVLoader
19
+ from langchain_community.document_loaders.csv_loader import CSVLoader
20
+
21
 
22
  loader = CSVLoader(file_path='aiotsmartlabs_faq.csv', source_column = 'prompt')
23
  data = loader.load()