cowrycode commited on
Commit
0d1f019
·
verified ·
1 Parent(s): 1aa81e5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -72,7 +72,7 @@ class BasicAgent:
72
  llm=self.llm,
73
  system_prompt=self.system_prompt,
74
  )
75
- def extract_answer(text: str) -> str:
76
  match = re.search(r"(?<=<answer>)(.*?)(?=</answer>)", text)
77
  return match.group(1) if match else ""
78
 
 
72
  llm=self.llm,
73
  system_prompt=self.system_prompt,
74
  )
75
+ def extract_answer(self, text: str) -> str:
76
  match = re.search(r"(?<=<answer>)(.*?)(?=</answer>)", text)
77
  return match.group(1) if match else ""
78