Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -5,7 +5,7 @@ import torch
|
|
| 5 |
from llama_index.llms import LlamaCPP
|
| 6 |
from llama_index.llms.llama_utils import messages_to_prompt, completion_to_prompt
|
| 7 |
|
| 8 |
-
documents = SimpleDirectoryReader("
|
| 9 |
|
| 10 |
llm = LlamaCPP(
|
| 11 |
# You can pass in the URL to a GGML model to download it automatically
|
|
|
|
| 5 |
from llama_index.llms import LlamaCPP
|
| 6 |
from llama_index.llms.llama_utils import messages_to_prompt, completion_to_prompt
|
| 7 |
|
| 8 |
+
documents = SimpleDirectoryReader("./data").load_data()
|
| 9 |
|
| 10 |
llm = LlamaCPP(
|
| 11 |
# You can pass in the URL to a GGML model to download it automatically
|