Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -24,11 +24,7 @@ def generatePrompt(input, inputdos):
|
|
| 24 |
|
| 25 |
messages = [
|
| 26 |
{
|
| 27 |
-
"role": "system",
|
| 28 |
-
"content": "you are a chatbot who always responds politely and in the shortest possible way",
|
| 29 |
-
},
|
| 30 |
-
{
|
| 31 |
-
"role": "user", "content": str(new_prompt)
|
| 32 |
},
|
| 33 |
{
|
| 34 |
"role": "user", "content": str(promptdos)
|
|
|
|
| 24 |
|
| 25 |
messages = [
|
| 26 |
{
|
| 27 |
+
"role": "system", "content": str(new_prompt)
|
|
|
|
|
|
|
|
|
|
|
|
|
| 28 |
},
|
| 29 |
{
|
| 30 |
"role": "user", "content": str(promptdos)
|