Update app.py
Browse files
app.py
CHANGED
|
@@ -434,7 +434,7 @@ def analyze_text(text: str, mode: str, classifier: TextClassifier) -> tuple:
|
|
| 434 |
quick_analysis
|
| 435 |
)
|
| 436 |
else:
|
| 437 |
-
analysis = classifier.
|
| 438 |
|
| 439 |
detailed_analysis = []
|
| 440 |
for pred in analysis['sentence_predictions']:
|
|
|
|
| 434 |
quick_analysis
|
| 435 |
)
|
| 436 |
else:
|
| 437 |
+
analysis = classifier.detailed_scan(text)
|
| 438 |
|
| 439 |
detailed_analysis = []
|
| 440 |
for pred in analysis['sentence_predictions']:
|