diff --git a/.idea/workspace.xml b/.idea/workspace.xml index d2bda6c..3d29d56 100644 --- a/.idea/workspace.xml +++ b/.idea/workspace.xml @@ -4,14 +4,8 @@ - @@ -660,7 +653,8 @@ - diff --git a/app/Ui/contact/emotion/emotion.py b/app/Ui/contact/emotion/emotion.py index f0ede65..c33a4e8 100644 --- a/app/Ui/contact/emotion/emotion.py +++ b/app/Ui/contact/emotion/emotion.py @@ -32,6 +32,7 @@ def emotion_analysis(wxid): emotions.append(s / len(messages)) emotions = np.array(emotions) emotions = np.around(emotions, 3) * 100 + emotions = np.around(emotions, 1) return dates, emotions