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

Update app.py

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