Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
@@ -342,7 +342,7 @@ def generate_answer(message, choice):
|
|
342 |
|
343 |
|
344 |
def extract_location_from_response(response):
|
345 |
-
agent = initialize_agent_with_prompt(
|
346 |
address_response = agent(response)
|
347 |
return address_response['output']
|
348 |
|
|
|
342 |
|
343 |
|
344 |
def extract_location_from_response(response):
|
345 |
+
agent = initialize_agent_with_prompt(QA_CHAIN_PROMPT_1)
|
346 |
address_response = agent(response)
|
347 |
return address_response['output']
|
348 |
|