Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -668,6 +668,8 @@ def classify(platform, UserInput, Images, Textbox2, Textbox3):
|
|
668 |
|
669 |
# reply = response["choices"][0]["message"]["content"]
|
670 |
reply = completion.choices[0].message['content']
|
|
|
|
|
671 |
except:
|
672 |
reply = "Maximum messages: 15. Please clear your history and Try Again!"
|
673 |
output.append({"Mode": "Chat", "content": reply})
|
|
|
668 |
|
669 |
# reply = response["choices"][0]["message"]["content"]
|
670 |
reply = completion.choices[0].message['content']
|
671 |
+
print("RESPONSE TRY (NO IMAGE)", completion, reply)
|
672 |
+
|
673 |
except:
|
674 |
reply = "Maximum messages: 15. Please clear your history and Try Again!"
|
675 |
output.append({"Mode": "Chat", "content": reply})
|