tanveeshsingh commited on
Commit
938dd4f
·
1 Parent(s): bf32707
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -46,6 +46,7 @@ def classify_prompt(category,conv_prefix, response):
46
  result = response.json()
47
  judgement = result['judgement']
48
  if category =='refusal':
 
49
  if judgement==1:
50
  return 'Non Refusal'
51
  else:
 
46
  result = response.json()
47
  judgement = result['judgement']
48
  if category =='refusal':
49
+ print(judgement)
50
  if judgement==1:
51
  return 'Non Refusal'
52
  else: