Spaces:
Running
Running
aliasgerovs
commited on
Commit
•
fd064b8
1
Parent(s):
51cffc4
Update app.py
Browse files
app.py
CHANGED
@@ -270,7 +270,7 @@ def ai_generated_test(ai_option, input):
|
|
270 |
samples_len = len(split_text_allow_complete_sentences_nltk(input))
|
271 |
segments = split_text_allow_complete_sentences_nltk(input)
|
272 |
|
273 |
-
for i in samples_len:
|
274 |
cleaned_text = remove_special_characters(segments[i])
|
275 |
bc_score = predict_bc(text_bc_model, text_bc_tokenizer,cleaned_text )
|
276 |
mc_score = predict_mc(text_mc_model, text_mc_tokenizer, cleaned_text)
|
|
|
270 |
samples_len = len(split_text_allow_complete_sentences_nltk(input))
|
271 |
segments = split_text_allow_complete_sentences_nltk(input)
|
272 |
|
273 |
+
for i in range(samples_len):
|
274 |
cleaned_text = remove_special_characters(segments[i])
|
275 |
bc_score = predict_bc(text_bc_model, text_bc_tokenizer,cleaned_text )
|
276 |
mc_score = predict_mc(text_mc_model, text_mc_tokenizer, cleaned_text)
|