samidh commited on
Commit
093e0f5
·
verified ·
1 Parent(s): 7dd6766

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -95,7 +95,7 @@ def predict(content, policy):
95
  decoded_output = tokenizer.decode(outputs[0], skip_special_tokens=True)
96
  if decoded_output[-1] == '0':
97
  return 'NON-Violating'
98
- else
99
  return 'VIOLATING'
100
 
101
  # Create Gradio interface
 
95
  decoded_output = tokenizer.decode(outputs[0], skip_special_tokens=True)
96
  if decoded_output[-1] == '0':
97
  return 'NON-Violating'
98
+ else:
99
  return 'VIOLATING'
100
 
101
  # Create Gradio interface