Sakshi commited on
Commit
ce584bd
·
1 Parent(s): f74e0b9

pitching full suggestion fix

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -108,7 +108,7 @@ def main():
108
  (item for item in response if item.get("stage") == "SUGGEST"), None
109
  )['response']
110
  # suggestion = suggestion.split('<POLICY_PITCH>')[-1].split('</POLICY_PITCH>')[0]
111
- suggestion = suggestion.replace('<POLICY_PITCH>', '').replace('</POLICY_PITCH>')
112
  text = next(
113
  (item for item in response if item.get("stage") == "OCR"), None
114
  )['response']
 
108
  (item for item in response if item.get("stage") == "SUGGEST"), None
109
  )['response']
110
  # suggestion = suggestion.split('<POLICY_PITCH>')[-1].split('</POLICY_PITCH>')[0]
111
+ suggestion = suggestion.replace('<POLICY_PITCH>', '').replace('</POLICY_PITCH>', '')
112
  text = next(
113
  (item for item in response if item.get("stage") == "OCR"), None
114
  )['response']