kkAsmaa commited on
Commit
317d582
·
verified ·
1 Parent(s): 3e50891

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -35,6 +35,7 @@ def predict_safety_api(text):
35
  """
36
  Arabic text classification gateway utilizing a custom sliding window configuration with 20 token overlap.
37
  """
 
38
  cleaned_text = full_preprocess(text)
39
 
40
  full_encodings = tokenizer(cleaned_text, add_special_tokens=False, return_attention_mask=False)
 
35
  """
36
  Arabic text classification gateway utilizing a custom sliding window configuration with 20 token overlap.
37
  """
38
+ print(f"[Incoming text to evaluate]: {text}")
39
  cleaned_text = full_preprocess(text)
40
 
41
  full_encodings = tokenizer(cleaned_text, add_special_tokens=False, return_attention_mask=False)