Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -741,9 +741,12 @@ messages = [
|
|
741 |
{"role": "system", "content": system}
|
742 |
]
|
743 |
|
744 |
-
|
745 |
|
746 |
def classify(platform, UserInput, Images, Textbox2, Textbox3):
|
|
|
|
|
|
|
747 |
if UserInput == "clear history":
|
748 |
messages.clear()
|
749 |
messages.append(
|
|
|
741 |
{"role": "system", "content": system}
|
742 |
]
|
743 |
|
744 |
+
messages.clear()
|
745 |
|
746 |
def classify(platform, UserInput, Images, Textbox2, Textbox3):
|
747 |
+
messages.append(
|
748 |
+
{"role": "system", "content": system}
|
749 |
+
)
|
750 |
if UserInput == "clear history":
|
751 |
messages.clear()
|
752 |
messages.append(
|