Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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
|