Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -37,6 +37,7 @@ import spaces # For GPU
|
|
| 37 |
import transformers # LLM Loading
|
| 38 |
import langchain_community.vectorstores # Vectorstore for publications
|
| 39 |
import langchain_huggingface # Embeddings
|
|
|
|
| 40 |
|
| 41 |
# The number of publications to retrieve for the prompt
|
| 42 |
PUBLICATIONS_TO_RETRIEVE = 5
|
|
|
|
| 37 |
import transformers # LLM Loading
|
| 38 |
import langchain_community.vectorstores # Vectorstore for publications
|
| 39 |
import langchain_huggingface # Embeddings
|
| 40 |
+
import llama_cpp
|
| 41 |
|
| 42 |
# The number of publications to retrieve for the prompt
|
| 43 |
PUBLICATIONS_TO_RETRIEVE = 5
|