Update app.py
Browse files
app.py
CHANGED
@@ -97,7 +97,7 @@ class SpeechAnalyzer:
|
|
97 |
return segments
|
98 |
|
99 |
def analyze_moral_foundations(self, text):
|
100 |
-
|
101 |
segments = self.split_text(text)
|
102 |
|
103 |
foundation_scores = {
|
|
|
97 |
return segments
|
98 |
|
99 |
def analyze_moral_foundations(self, text):
|
100 |
+
"""Analyze moral foundations using the RoBERTa-based classifier"""
|
101 |
segments = self.split_text(text)
|
102 |
|
103 |
foundation_scores = {
|