codelion commited on
Commit
b6d180b
1 Parent(s): 7988056

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
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
- final_response, _ = plansearch(system_prompt, initial_query, client, model)[0]
 
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':