rwitz commited on
Commit
e417351
1 Parent(s): ba6f9c4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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",