NicolasGaudemet commited on
Commit
61e5603
1 Parent(s): c460425

Update summarizer_app.py

Browse files
Files changed (1) hide show
  1. summarizer_app.py +2 -1
summarizer_app.py CHANGED
@@ -1,6 +1,7 @@
1
  import os
2
  import json
3
- from langchain import OpenAI, ChatOpenAI, PromptTemplate, LLMChain
 
4
  from langchain.text_splitter import CharacterTextSplitter
5
  from langchain.chains.mapreduce import MapReduceChain
6
  from langchain.prompts import PromptTemplate
 
1
  import os
2
  import json
3
+ from langchain import OpenAI, PromptTemplate, LLMChain
4
+ from langchain.chat_models import ChatOpenAI
5
  from langchain.text_splitter import CharacterTextSplitter
6
  from langchain.chains.mapreduce import MapReduceChain
7
  from langchain.prompts import PromptTemplate