Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -71,7 +71,7 @@ top_results = get_top_chunks("Your account has been compromised", chunk_embeddin
|
|
| 71 |
|
| 72 |
cleaned_chunks = preprocess_text(knowledge_base)
|
| 73 |
|
| 74 |
-
InferenceClient("Qwen/Qwen2.5-7B-Instruct", token=os.getenv("ByteShield_Token"))
|
| 75 |
def respond(message, history):
|
| 76 |
top_chunks = get_top_chunks(message, chunk_embeddings, cleaned_chunks)
|
| 77 |
context = "\n".join(top_chunks)
|
|
|
|
| 71 |
|
| 72 |
cleaned_chunks = preprocess_text(knowledge_base)
|
| 73 |
|
| 74 |
+
client = InferenceClient("Qwen/Qwen2.5-7B-Instruct", token=os.getenv("ByteShield_Token"))
|
| 75 |
def respond(message, history):
|
| 76 |
top_chunks = get_top_chunks(message, chunk_embeddings, cleaned_chunks)
|
| 77 |
context = "\n".join(top_chunks)
|