Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
|
@@ -27,6 +27,7 @@ class chatgpt:
|
|
| 27 |
def Clean(self):
|
| 28 |
self.history.clear()
|
| 29 |
self.conversation.clear()
|
|
|
|
| 30 |
return self.history, self.history
|
| 31 |
|
| 32 |
# User input
|
|
|
|
| 27 |
def Clean(self):
|
| 28 |
self.history.clear()
|
| 29 |
self.conversation.clear()
|
| 30 |
+
self.conversation = [{"role": "system", "content": "You are a friendly assistant who uses casual language and humor, in your conversations you often use emojis to reflect your mood."},]
|
| 31 |
return self.history, self.history
|
| 32 |
|
| 33 |
# User input
|