yangswei commited on
Commit
59f7528
1 Parent(s): 9841afc

Update song-insight-app.py

Browse files
Files changed (1) hide show
  1. song-insight-app.py +2 -1
song-insight-app.py CHANGED
@@ -1,6 +1,7 @@
1
  import gradio as gr
2
  from langchain import PromptTemplate
3
- from langchain.chat_models import ChatOpenAI
 
4
  from langchain.chains import LLMChain
5
  from langchain_community.retrievers import WikipediaRetriever
6
  from transformers import AutoModelForSequenceClassification, AutoTokenizer
 
1
  import gradio as gr
2
  from langchain import PromptTemplate
3
+ # from langchain.chat_models import ChatOpenAI
4
+ from langchain_community.chat_models import ChatOpenAI
5
  from langchain.chains import LLMChain
6
  from langchain_community.retrievers import WikipediaRetriever
7
  from transformers import AutoModelForSequenceClassification, AutoTokenizer