Spaces:
Sleeping
Sleeping
Fix: list index out of range
Browse files- server/backend.py +1 -1
server/backend.py
CHANGED
@@ -197,7 +197,7 @@ def getJailbreak(jailbreak):
|
|
197 |
:param jailbreak: Jailbreak instruction string
|
198 |
:return: Jailbreak instructions if provided, otherwise None
|
199 |
"""
|
200 |
-
if jailbreak != "
|
201 |
special_instructions[jailbreak][0]['content'] += special_instructions['two_responses_instruction']
|
202 |
if jailbreak in special_instructions:
|
203 |
special_instructions[jailbreak]
|
|
|
197 |
:param jailbreak: Jailbreak instruction string
|
198 |
:return: Jailbreak instructions if provided, otherwise None
|
199 |
"""
|
200 |
+
if jailbreak != "default":
|
201 |
special_instructions[jailbreak][0]['content'] += special_instructions['two_responses_instruction']
|
202 |
if jailbreak in special_instructions:
|
203 |
special_instructions[jailbreak]
|