Update app.py
Browse files
app.py
CHANGED
@@ -12,6 +12,7 @@ from langchain.document_loaders.generic import GenericLoader
|
|
12 |
from langchain.document_loaders.parsers import OpenAIWhisperParser
|
13 |
from langchain.schema import AIMessage, HumanMessage
|
14 |
from langchain.llms import HuggingFaceHub
|
|
|
15 |
|
16 |
from langchain.embeddings.openai import OpenAIEmbeddings
|
17 |
from langchain.prompts import PromptTemplate
|
|
|
12 |
from langchain.document_loaders.parsers import OpenAIWhisperParser
|
13 |
from langchain.schema import AIMessage, HumanMessage
|
14 |
from langchain.llms import HuggingFaceHub
|
15 |
+
from langchain.llms import HuggingFaceTextGenInference
|
16 |
|
17 |
from langchain.embeddings.openai import OpenAIEmbeddings
|
18 |
from langchain.prompts import PromptTemplate
|