OuroborosM commited on
Commit
2bd5e1f
·
1 Parent(s): b306c18

correct defect of choice

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -279,7 +279,8 @@ class GPTRemote(LLM):
279
  output = output.split('Observation:')[0]
280
 
281
  global Choice
282
- if Choice == "Structured Zero Short Agent":
 
283
  try:
284
  # temp = output.split('{')[1].split('}')[0:-2]
285
  pattern = r'\{((?:[^{}]|(?R))*)\}'
 
279
  output = output.split('Observation:')[0]
280
 
281
  global Choice
282
+ # if Choice == "Structured Zero Short Agent":
283
+ if 1:
284
  try:
285
  # temp = output.split('{')[1].split('}')[0:-2]
286
  pattern = r'\{((?:[^{}]|(?R))*)\}'