Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -29,7 +29,7 @@ else:
|
|
| 29 |
faiss.write_index(index, "faiss.index")
|
| 30 |
|
| 31 |
# --- Inference API client ---
|
| 32 |
-
client = InferenceClient("
|
| 33 |
|
| 34 |
def respond(message, history):
|
| 35 |
query_embedding = embedding_model.encode([message], convert_to_numpy=True)
|
|
|
|
| 29 |
faiss.write_index(index, "faiss.index")
|
| 30 |
|
| 31 |
# --- Inference API client ---
|
| 32 |
+
client = InferenceClient("mistralai/Mistral-7B-Instruct-v0.3", token=os.getenv("HF_TOKEN"))
|
| 33 |
|
| 34 |
def respond(message, history):
|
| 35 |
query_embedding = embedding_model.encode([message], convert_to_numpy=True)
|