Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -45,7 +45,7 @@ def search_faiss(query, top_k=1):
|
|
45 |
return texts[indices[0][0]] if indices[0][0] < len(texts) else "No relevant information found."
|
46 |
|
47 |
# 🔹 Hugging Face API for Additional Responses
|
48 |
-
client = InferenceClient("
|
49 |
|
50 |
def get_huggingface_response(query):
|
51 |
messages = [{"role": "system", "content": "Provide accurate food stamp information for Colorado."},
|
|
|
45 |
return texts[indices[0][0]] if indices[0][0] < len(texts) else "No relevant information found."
|
46 |
|
47 |
# 🔹 Hugging Face API for Additional Responses
|
48 |
+
client = InferenceClient("mistralai/Mistral-7B-Instruct-v0.1")
|
49 |
|
50 |
def get_huggingface_response(query):
|
51 |
messages = [{"role": "system", "content": "Provide accurate food stamp information for Colorado."},
|