Spaces:
Running
Running
Update app.py
Browse files
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 |
-
|
|
|
|
|
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:
|