AchyuthGamer commited on
Commit
f4314fb
1 Parent(s): 12a8290

Update server/backend.py

Browse files
Files changed (1) hide show
  1. server/backend.py +3 -3
server/backend.py CHANGED
@@ -167,10 +167,10 @@ def getJailbreak(jailbreak):
167
  :return: Jailbreak instructions if provided, otherwise None
168
  """
169
  if jailbreak != "gpt-default":
170
- special_instructions['content'] += special_instructions['two_responses_instruction']
171
  if jailbreak in special_instructions:
172
- special_instructions['content']
173
- return special_instructions['content']
174
  else:
175
  return None
176
  else:
 
167
  :return: Jailbreak instructions if provided, otherwise None
168
  """
169
  if jailbreak != "gpt-default":
170
+ special_instructions[jailbreak][0]['content'] += special_instructions['two_responses_instruction']
171
  if jailbreak in special_instructions:
172
+ special_instructions[jailbreak]
173
+ return special_instructions[jailbreak]
174
  else:
175
  return None
176
  else: