Spaces:
Sleeping
Sleeping
Commit
·
a19d78a
1
Parent(s):
938dd4f
Changes
Browse files
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 |
print(judgement)
|
50 |
if judgement==1:
|
51 |
return 'Non Refusal'
|
|
|
46 |
result = response.json()
|
47 |
judgement = result['judgement']
|
48 |
if category =='refusal':
|
49 |
+
print("OUTPUT IS ",result)
|
50 |
print(judgement)
|
51 |
if judgement==1:
|
52 |
return 'Non Refusal'
|