Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
|
@@ -56,7 +56,7 @@ def respond(message, history, model, approach, system_message, max_tokens, tempe
|
|
| 56 |
elif approach == "cot_reflection":
|
| 57 |
final_response = cot_reflection(system_prompt, initial_query, client, model)
|
| 58 |
elif approach == 'plansearch':
|
| 59 |
-
final_response = plansearch(system_prompt, initial_query, client, model)
|
| 60 |
elif approach == 'leap':
|
| 61 |
final_response = leap(system_prompt, initial_query, client, model)
|
| 62 |
|
|
|
|
| 56 |
elif approach == "cot_reflection":
|
| 57 |
final_response = cot_reflection(system_prompt, initial_query, client, model)
|
| 58 |
elif approach == 'plansearch':
|
| 59 |
+
final_response = plansearch(system_prompt, initial_query, client, model)[0]
|
| 60 |
elif approach == 'leap':
|
| 61 |
final_response = leap(system_prompt, initial_query, client, model)
|
| 62 |
|