Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -120,9 +120,7 @@ def get_top_chunks(query, chunk_embeddings, text_chunks):
|
|
| 120 |
cleaned_chunks = preprocess_text(poverty_and_education)
|
| 121 |
chunk_embeddings = create_embeddings(cleaned_chunks)
|
| 122 |
#AI API being used
|
| 123 |
-
client= InferenceClient("
|
| 124 |
-
|
| 125 |
-
#("Qwen/Qwen2.5-7B-Instruct-1M")
|
| 126 |
|
| 127 |
#defining role of AI and user
|
| 128 |
def respond(message,history):
|
|
|
|
| 120 |
cleaned_chunks = preprocess_text(poverty_and_education)
|
| 121 |
chunk_embeddings = create_embeddings(cleaned_chunks)
|
| 122 |
#AI API being used
|
| 123 |
+
client= InferenceClient("Qwen/Qwen2.5-7B-Instruct-1M")
|
|
|
|
|
|
|
| 124 |
|
| 125 |
#defining role of AI and user
|
| 126 |
def respond(message,history):
|