Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -18,6 +18,9 @@ from langchain_community.embeddings import HuggingFaceEmbeddings
|
|
18 |
# HF Inference client for chat completions
|
19 |
from huggingface_hub import InferenceClient
|
20 |
|
|
|
|
|
|
|
21 |
# ββ Globals βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
|
22 |
retriever = None # FAISS retriever for multimodal content
|
23 |
current_pdf_name = None # Name of the currently loaded PDF
|
|
|
18 |
# HF Inference client for chat completions
|
19 |
from huggingface_hub import InferenceClient
|
20 |
|
21 |
+
from langchain_huggingface import HuggingFaceEmbeddings
|
22 |
+
|
23 |
+
|
24 |
# ββ Globals βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
|
25 |
retriever = None # FAISS retriever for multimodal content
|
26 |
current_pdf_name = None # Name of the currently loaded PDF
|