Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -3,6 +3,7 @@ from llama_index.core import VectorStoreIndex, SimpleDirectoryReader, Settings
|
|
| 3 |
from llama_index.embeddings.huggingface import HuggingFaceEmbedding
|
| 4 |
from llama_index.legacy.callbacks import CallbackManager
|
| 5 |
from llama_index.llms.openai_like import OpenAILike
|
|
|
|
| 6 |
|
| 7 |
# Create an instance of CallbackManager
|
| 8 |
callback_manager = CallbackManager()
|
|
|
|
| 3 |
from llama_index.embeddings.huggingface import HuggingFaceEmbedding
|
| 4 |
from llama_index.legacy.callbacks import CallbackManager
|
| 5 |
from llama_index.llms.openai_like import OpenAILike
|
| 6 |
+
import os
|
| 7 |
|
| 8 |
# Create an instance of CallbackManager
|
| 9 |
callback_manager = CallbackManager()
|