Archisman Karmakar
commited on
Commit
·
0407419
1
Parent(s):
b6b97a4
Update dashboard.py
Browse files- dashboard.py +4 -2
dashboard.py
CHANGED
@@ -160,12 +160,14 @@ def create_sample_example1():
|
|
160 |
|
161 |
// Define edges
|
162 |
"Input Text" -> "Normalized Text";
|
163 |
-
"
|
164 |
"Sentiment" -> "negative";
|
165 |
"Sentiment" -> "neutral";
|
166 |
"Sentiment" -> "positive";
|
167 |
|
168 |
-
"
|
|
|
|
|
169 |
"Emotion" -> "anger";
|
170 |
"Emotion" -> "disgust";
|
171 |
"Emotion" -> "fear";
|
|
|
160 |
|
161 |
// Define edges
|
162 |
"Input Text" -> "Normalized Text";
|
163 |
+
"Input Text" -> "Sentiment";
|
164 |
"Sentiment" -> "negative";
|
165 |
"Sentiment" -> "neutral";
|
166 |
"Sentiment" -> "positive";
|
167 |
|
168 |
+
"neagtive" -> "Emotion";
|
169 |
+
"positive" -> "Emotion" [penwidth=0.2];
|
170 |
+
"neutral" -> "Emotion" [penwidth=0.2];
|
171 |
"Emotion" -> "anger";
|
172 |
"Emotion" -> "disgust";
|
173 |
"Emotion" -> "fear";
|