Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -42,7 +42,7 @@ def rephrase_query(original_query: str, conversation_manager: ConversationManage
|
|
| 42 |
|
| 43 |
Rephrased query:"""
|
| 44 |
|
| 45 |
-
response = DDGS().chat(prompt, model="llama-3-70b")
|
| 46 |
# Extract only the rephrased query, removing any explanations
|
| 47 |
rephrased_query = response.split('\n')[0].strip()
|
| 48 |
return rephrased_query
|
|
|
|
| 42 |
|
| 43 |
Rephrased query:"""
|
| 44 |
|
| 45 |
+
response = DDGS().chat(prompt, model="llama-3.1-70b")
|
| 46 |
# Extract only the rephrased query, removing any explanations
|
| 47 |
rephrased_query = response.split('\n')[0].strip()
|
| 48 |
return rephrased_query
|