tommy24 commited on
Commit
686d137
·
1 Parent(s): 2d83546

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -1097,7 +1097,9 @@ def classify(platform, UserInput, Images, Textbox2, Textbox3):
1097
  print("YES_FUNCTION_CALL RESPONSE TRY (NO IMAGE)")
1098
  if second_response is not None:
1099
  reply = second_response
1100
- return reply
 
 
1101
  else:
1102
  return "Error"
1103
  else:
 
1097
  print("YES_FUNCTION_CALL RESPONSE TRY (NO IMAGE)")
1098
  if second_response is not None:
1099
  reply = second_response
1100
+ json_res = json.dumps(reply, indent=2)
1101
+ print("REPLYYYYYYY OPENAI: ", reply)
1102
+ return json_res
1103
  else:
1104
  return "Error"
1105
  else: