Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -12,8 +12,8 @@ import streamlit as st
|
|
| 12 |
import torch
|
| 13 |
from llama_index.core import Settings, SimpleDirectoryReader, StorageContext, Document
|
| 14 |
from llama_index.core.storage.docstore import SimpleDocumentStore
|
| 15 |
-
from llama_index.llms.ollama import Ollama
|
| 16 |
-
from llama_index.embeddings.ollama import OllamaEmbedding
|
| 17 |
from llama_index.core.node_parser import LangchainNodeParser
|
| 18 |
from langchain.text_splitter import RecursiveCharacterTextSplitter
|
| 19 |
from llama_index.core.storage.chat_store import SimpleChatStore
|
|
|
|
| 12 |
import torch
|
| 13 |
from llama_index.core import Settings, SimpleDirectoryReader, StorageContext, Document
|
| 14 |
from llama_index.core.storage.docstore import SimpleDocumentStore
|
| 15 |
+
# from llama_index.llms.ollama import Ollama
|
| 16 |
+
# from llama_index.embeddings.ollama import OllamaEmbedding
|
| 17 |
from llama_index.core.node_parser import LangchainNodeParser
|
| 18 |
from langchain.text_splitter import RecursiveCharacterTextSplitter
|
| 19 |
from llama_index.core.storage.chat_store import SimpleChatStore
|