enemy7 commited on
Commit
0acebe0
·
1 Parent(s): aa19e38

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -417,8 +417,9 @@ def hello():
417
  def main():
418
  data = request.get_json()['text']
419
 
420
- value = precidt(data)[0][0]
421
-
 
422
  if (value > 85):
423
  score = "Poor"
424
 
 
417
  def main():
418
  data = request.get_json()['text']
419
 
420
+ value = precidt(data)[0]
421
+ print(value)
422
+ value = value[0]
423
  if (value > 85):
424
  score = "Poor"
425