gregH commited on
Commit
713f38c
1 Parent(s): 9c7e29f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -160,7 +160,7 @@ def gradient_cuff_reject(message,with_defense, sample_times,perturb_times,thresh
160
  return False
161
 
162
  def chat(message, history, with_defense,perturb_times):
163
- sample_times=10
164
  threshold=thresholds[perturb_times-1]
165
  if gradient_cuff_reject(message,with_defense, sample_times, perturb_times, threshold):
166
  answer="[Gradient Cuff Rejection] I cannot fulfill your request".split(" ")
 
160
  return False
161
 
162
  def chat(message, history, with_defense,perturb_times):
163
+ sample_times=2
164
  threshold=thresholds[perturb_times-1]
165
  if gradient_cuff_reject(message,with_defense, sample_times, perturb_times, threshold):
166
  answer="[Gradient Cuff Rejection] I cannot fulfill your request".split(" ")