Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -80,7 +80,7 @@ def format_prompt(state, bot_index, character_name, character_description, user_
|
|
80 |
if user_name is None or user_name.strip() == "":
|
81 |
user_name = "You"
|
82 |
|
83 |
-
prompt = f"{character_description}\n
|
84 |
|
85 |
# Get the last num_messages messages from the conversation history
|
86 |
recent_messages = state["history"][bot_index][-num_messages:]
|
|
|
80 |
if user_name is None or user_name.strip() == "":
|
81 |
user_name = "You"
|
82 |
|
83 |
+
prompt = f"{character_description}\n\n"
|
84 |
|
85 |
# Get the last num_messages messages from the conversation history
|
86 |
recent_messages = state["history"][bot_index][-num_messages:]
|