AchyuthGamer commited on
Commit
0decc45
1 Parent(s): 8e5040f

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[0]['gpt-default']
171
  if jailbreak in special_instructions:
172
- special_instructions[0]['gpt-default']
173
- return special_instructions[0]['gpt-default']
174
  else:
175
  return None
176
  else:
 
167
  :return: Jailbreak instructions if provided, otherwise None
168
  """
169
  if jailbreak == "gpt-default":
170
+ special_instructions['gpt-default']
171
  if jailbreak in special_instructions:
172
+ special_instructions['gpt-default']
173
+ return special_instructions['gpt-default']
174
  else:
175
  return None
176
  else: