rwitz commited on
Commit
f7528b2
1 Parent(s): c01647a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -85,7 +85,7 @@ def format_prompt(state, bot_index, character_name, character_description, user_
85
  if message['role'] == 'user':
86
  prompt += f"{user_name}: {message['content']}\n"
87
  else:
88
- prompt += f"character_name}: {message['content']}\n"
89
  prompt += f"{character_name}:"
90
  return prompt
91
  import aiohttp
 
85
  if message['role'] == 'user':
86
  prompt += f"{user_name}: {message['content']}\n"
87
  else:
88
+ prompt += f"{character_name}: {message['content']}\n"
89
  prompt += f"{character_name}:"
90
  return prompt
91
  import aiohttp