Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
@@ -81,8 +81,7 @@ def sentiment(diarized, emotion_pipeline):
|
|
81 |
diarized: a list of tuples. Each tuple has a string to be displayed and a label for highlighting.
|
82 |
The start/end times are not highlighted [(speaker text, speaker id), (start time/end time, None)]
|
83 |
|
84 |
-
This function gets the customer's sentiment and returns a list for highlighted text
|
85 |
-
as a plot of sentiment over time.
|
86 |
"""
|
87 |
|
88 |
customer_sentiments = []
|
|
|
81 |
diarized: a list of tuples. Each tuple has a string to be displayed and a label for highlighting.
|
82 |
The start/end times are not highlighted [(speaker text, speaker id), (start time/end time, None)]
|
83 |
|
84 |
+
This function gets the customer's sentiment and returns a list for highlighted text.
|
|
|
85 |
"""
|
86 |
|
87 |
customer_sentiments = []
|