Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -1,6 +1,7 @@
|
|
| 1 |
|
| 2 |
import streamlit as st
|
| 3 |
-
from llama_index import
|
|
|
|
| 4 |
from llama_index.llms.huggingface import HuggingFaceLLM
|
| 5 |
from llama_index.embeddings.huggingface import HuggingFaceEmbedding
|
| 6 |
import torch
|
|
|
|
| 1 |
|
| 2 |
import streamlit as st
|
| 3 |
+
from llama_index import SimpleDirectoryReader, PromptTemplate, ServiceContext
|
| 4 |
+
from llama_index.core import VectorStoreIndex
|
| 5 |
from llama_index.llms.huggingface import HuggingFaceLLM
|
| 6 |
from llama_index.embeddings.huggingface import HuggingFaceEmbedding
|
| 7 |
import torch
|