Spaces:
Sleeping
Sleeping
Update song-insight-app.py
Browse files- 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
|