Spaces:
Running
on
L4
Running
on
L4
Update app.py
Browse files
app.py
CHANGED
@@ -113,9 +113,9 @@ def predict(content, policy):
|
|
113 |
decoded_output = tokenizer.decode([predicted_token_id])
|
114 |
|
115 |
if decoded_output == '1':
|
116 |
-
return f'
|
117 |
else:
|
118 |
-
return f'
|
119 |
|
120 |
|
121 |
# Create the interface
|
|
|
113 |
decoded_output = tokenizer.decode([predicted_token_id])
|
114 |
|
115 |
if decoded_output == '1':
|
116 |
+
return f'True (i.e., VIOLATING)'
|
117 |
else:
|
118 |
+
return f'False (i.e., NON-violating)'
|
119 |
|
120 |
|
121 |
# Create the interface
|