This commit is contained in:
martinb-bb
2023-02-23 20:19:58 -05:00
parent b211fcac52
commit effe1b381c

View File

@@ -198,7 +198,7 @@ def transcribe_and_summarize(
console.print(f"Summary: [blue]Reduction: {percent_reduction}%[/blue]")
if overall_sentiment_label == "NEUTRAL":
console.print(
f"Sentiment: {overall_sentiment_label}:{round(overall_sentiment_score, 4)}"
f"Sentiment: {overall_sentiment_label}:{round(overall_sentiment_score, 2)}%"
)
else:
sent_color = "green" if overall_sentiment_label == "POSITIVE" else "red"