Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -4,7 +4,7 @@ from langchain.callbacks import StreamlitCallbackHandler
|
|
4 |
import streamlit as st
|
5 |
from langchain_community.llms import LlamaCpp
|
6 |
from langchain_community.tools import HumanInputRun
|
7 |
-
from langchain_community.llms import Ollama
|
8 |
from langchain.agents import AgentExecutor, create_react_agent
|
9 |
|
10 |
#from llama_index.core import VectorStoreIndex, SimpleDirectoryReader, ServiceContext #Vector store index is for indexing the vector
|
@@ -29,7 +29,7 @@ from langchain.agents import load_tools, initialize_agent, Tool
|
|
29 |
from langchain.tools import HumanInputRun
|
30 |
from langchain.agents import AgentType
|
31 |
from langchain_community.document_loaders import PyPDFDirectoryLoader
|
32 |
-
from langchain_ollama.llms import OllamaLLM
|
33 |
from langchain_core.callbacks import CallbackManager, StreamingStdOutCallbackHandler
|
34 |
from huggingface_hub import snapshot_download
|
35 |
from langchain import hub
|
|
|
4 |
import streamlit as st
|
5 |
from langchain_community.llms import LlamaCpp
|
6 |
from langchain_community.tools import HumanInputRun
|
7 |
+
# from langchain_community.llms import Ollama
|
8 |
from langchain.agents import AgentExecutor, create_react_agent
|
9 |
|
10 |
#from llama_index.core import VectorStoreIndex, SimpleDirectoryReader, ServiceContext #Vector store index is for indexing the vector
|
|
|
29 |
from langchain.tools import HumanInputRun
|
30 |
from langchain.agents import AgentType
|
31 |
from langchain_community.document_loaders import PyPDFDirectoryLoader
|
32 |
+
# from langchain_ollama.llms import OllamaLLM
|
33 |
from langchain_core.callbacks import CallbackManager, StreamingStdOutCallbackHandler
|
34 |
from huggingface_hub import snapshot_download
|
35 |
from langchain import hub
|