PirateXX commited on
Commit
da394b2
·
1 Parent(s): c2abb61

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -55,7 +55,7 @@ def calculatePerplexities(text):
55
  return ({'error': 'No query provided'})
56
  if len(text) > 9400:
57
  return ({'error': 'Cannot analyze more than 9400 characters!'})
58
- if len(text.split) > 1500:
59
  return ({'error': 'Cannot analyze more than 1500 words'})
60
 
61
  sentences = text_to_sentences(text)
 
55
  return ({'error': 'No query provided'})
56
  if len(text) > 9400:
57
  return ({'error': 'Cannot analyze more than 9400 characters!'})
58
+ if len(text.split()) > 1500:
59
  return ({'error': 'Cannot analyze more than 1500 words'})
60
 
61
  sentences = text_to_sentences(text)