Update app.py
Browse files
app.py
CHANGED
|
@@ -30,7 +30,7 @@ Tell me what topic you want to discuss and what kind of help you want. For examp
|
|
| 30 |
#model = "gpt-3.5-turbo" # free and fast
|
| 31 |
#model = "gpt-4" # latest and greatest, not yet available
|
| 32 |
|
| 33 |
-
def CustomChatGPT(message, history
|
| 34 |
history_openai_format = [{"role": "system", "content": sys_message}]
|
| 35 |
for human, assistant in history:
|
| 36 |
history_openai_format.append({"role": "user", "content": human})
|
|
|
|
| 30 |
#model = "gpt-3.5-turbo" # free and fast
|
| 31 |
#model = "gpt-4" # latest and greatest, not yet available
|
| 32 |
|
| 33 |
+
def CustomChatGPT(message, history):
|
| 34 |
history_openai_format = [{"role": "system", "content": sys_message}]
|
| 35 |
for human, assistant in history:
|
| 36 |
history_openai_format.append({"role": "user", "content": human})
|