rairo commited on
Commit
d9c4bdc
·
verified ·
1 Parent(s): 80f2554

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +1 -1
main.py CHANGED
@@ -145,7 +145,7 @@ def marketing_rec():
145
  response = chain.invoke(input=data_frame)
146
  print(response)
147
 
148
- resp = str(response.text)
149
 
150
  return jsonify(resp)
151
 
 
145
  response = chain.invoke(input=data_frame)
146
  print(response)
147
 
148
+ resp = str(response['text'])
149
 
150
  return jsonify(resp)
151