Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -73,10 +73,10 @@ import os
|
|
73 |
# Function to get bot response
|
74 |
def format_prompt(state, bot_index, character_name, character_description, user_name, num_messages=20):
|
75 |
if character_name is None or character_name.strip() == "":
|
76 |
-
character_name = "
|
77 |
|
78 |
if character_description is None or character_description.strip() == "":
|
79 |
-
character_description = "
|
80 |
|
81 |
if user_name is None or user_name.strip() == "":
|
82 |
user_name = "You"
|
|
|
73 |
# Function to get bot response
|
74 |
def format_prompt(state, bot_index, character_name, character_description, user_name, num_messages=20):
|
75 |
if character_name is None or character_name.strip() == "":
|
76 |
+
character_name = "Assistant"
|
77 |
|
78 |
if character_description is None or character_description.strip() == "":
|
79 |
+
character_description = "The following is a conversation with an AI Large Language Model. The AI has been trained to answer questions, provide recommendations, and help with decision making. The AI follows user requests. The AI thinks outside the box."
|
80 |
|
81 |
if user_name is None or user_name.strip() == "":
|
82 |
user_name = "You"
|