rwitz commited on
Commit
7c49ec3
·
verified ·
1 Parent(s): f7528b2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -107,7 +107,7 @@ async def get_bot_response(adapter_id, prompt, state, bot_index, character_name,
107
  "frequency_penalty": 0,
108
  "temperature": 0.7,
109
  "prompt": prompt,
110
- "stop": ["<|im_end|>"]
111
  }
112
  headers = {
113
  "Accept": "application/json",
 
107
  "frequency_penalty": 0,
108
  "temperature": 0.7,
109
  "prompt": prompt,
110
+ "stop": ["<|im_end|>",f"{character_name}"]
111
  }
112
  headers = {
113
  "Accept": "application/json",