gregH commited on
Commit
bfe7dc5
1 Parent(s): 4f3e3a8

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -180,8 +180,8 @@ def gradient_cuff_reject(message,with_defense, sample_times,perturb_times,thresh
180
  return False
181
 
182
  def chat(message, history, with_defense,threshold):
183
- perturb_times=10
184
- sample_times=2
185
  #threshold=thresholds[perturb_times-1]
186
  if gradient_cuff_reject(message,with_defense, sample_times, perturb_times, threshold):
187
  answer="[Gradient Cuff Rejection] I cannot fulfill your request".split(" ")
 
180
  return False
181
 
182
  def chat(message, history, with_defense,threshold):
183
+ perturb_times=9
184
+ sample_times=10
185
  #threshold=thresholds[perturb_times-1]
186
  if gradient_cuff_reject(message,with_defense, sample_times, perturb_times, threshold):
187
  answer="[Gradient Cuff Rejection] I cannot fulfill your request".split(" ")