Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -54,7 +54,7 @@ client = InferenceClient("microsoft/phi-4")
|
|
| 54 |
|
| 55 |
def respond(message, history):
|
| 56 |
|
| 57 |
-
info = get_top_chunks(message, chunk_embeddings,
|
| 58 |
messages = [{"role": "system", "content": f"You are a friendly chatbot using {info} to answer questions."}]
|
| 59 |
|
| 60 |
if history:
|
|
|
|
| 54 |
|
| 55 |
def respond(message, history):
|
| 56 |
|
| 57 |
+
info = get_top_chunks(message, chunk_embeddings, cleaned_chunks)
|
| 58 |
messages = [{"role": "system", "content": f"You are a friendly chatbot using {info} to answer questions."}]
|
| 59 |
|
| 60 |
if history:
|