ApsidalSolid4 commited on
Commit
17941c3
·
verified ·
1 Parent(s): 59eee68

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -436,7 +436,7 @@ def analyze_text(text: str, mode: str, classifier: TextClassifier) -> tuple:
436
  quick_analysis
437
  )
438
  else:
439
- analysis = classifier.predict_with_local_context(text)
440
 
441
  detailed_analysis = []
442
  for pred in analysis['sentence_predictions']:
 
436
  quick_analysis
437
  )
438
  else:
439
+ analysis = classifier.predict_with_local_context(text)
440
 
441
  detailed_analysis = []
442
  for pred in analysis['sentence_predictions']: