Spaces:
Runtime error
Runtime error
Commit
·
92cb227
1
Parent(s):
f078020
Update app.py
Browse files
app.py
CHANGED
@@ -118,7 +118,7 @@ def chat():
|
|
118 |
interactive=True,
|
119 |
label="Character",
|
120 |
)
|
121 |
-
instructions = INSTRUCTIONS_MAPPING[
|
122 |
|
123 |
def run_chat(message: str, chat_history, bot_name: str, instructions: str, model: str, temperature: float, top_p: float):
|
124 |
if not message or (message == RETRY_COMMAND and len(chat_history) == 0):
|
|
|
118 |
interactive=True,
|
119 |
label="Character",
|
120 |
)
|
121 |
+
instructions = INSTRUCTIONS_MAPPING[bot_name]
|
122 |
|
123 |
def run_chat(message: str, chat_history, bot_name: str, instructions: str, model: str, temperature: float, top_p: float):
|
124 |
if not message or (message == RETRY_COMMAND and len(chat_history) == 0):
|