Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -104,7 +104,7 @@ async def get_bot_response(adapter_id, prompt, state, bot_index, character_name,
|
|
104 |
"max_tokens": 250,
|
105 |
"temperature": 0.7,
|
106 |
"prompt": prompt,
|
107 |
-
"stop": ["<|im_end|>",f"{character_name}",f"{user_name}"]
|
108 |
}
|
109 |
headers = {
|
110 |
"Accept": "application/json",
|
|
|
104 |
"max_tokens": 250,
|
105 |
"temperature": 0.7,
|
106 |
"prompt": prompt,
|
107 |
+
"stop": ["<|im_end|>",f"{character_name}:",f"{user_name}:"]
|
108 |
}
|
109 |
headers = {
|
110 |
"Accept": "application/json",
|