Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -72,7 +72,8 @@ def respond(message, history, model, approach, system_message, max_tokens, tempe
|
|
72 |
elif approach == "cot_reflection":
|
73 |
final_response, _ = cot_reflection(system_prompt, initial_query, client, model)
|
74 |
elif approach == 'plansearch':
|
75 |
-
|
|
|
76 |
elif approach == 'leap':
|
77 |
final_response, _ = leap(system_prompt, initial_query, client, model)
|
78 |
elif approach == 're2':
|
|
|
72 |
elif approach == "cot_reflection":
|
73 |
final_response, _ = cot_reflection(system_prompt, initial_query, client, model)
|
74 |
elif approach == 'plansearch':
|
75 |
+
response, _ = plansearch(system_prompt, initial_query, client, model)
|
76 |
+
final_response = response[0]
|
77 |
elif approach == 'leap':
|
78 |
final_response, _ = leap(system_prompt, initial_query, client, model)
|
79 |
elif approach == 're2':
|