Spaces:
Runtime error
Runtime error
Karthikeyan
commited on
Commit
•
846e7b7
1
Parent(s):
10fe60e
Update app.py
Browse files
app.py
CHANGED
@@ -137,7 +137,7 @@ class LangChain_Document_QA:
|
|
137 |
fig.update_layout(height=500, width=200)
|
138 |
return fig
|
139 |
def _display_graph_emotion(self,customer_emotion_score):
|
140 |
-
fig = px.pie(
|
141 |
fig.update_layout(height=500, width=200)
|
142 |
return fig
|
143 |
def _history_of_chat(self):
|
|
|
137 |
fig.update_layout(height=500, width=200)
|
138 |
return fig
|
139 |
def _display_graph_emotion(self,customer_emotion_score):
|
140 |
+
fig = px.pie(data, values='Score', names='Emotion', title='Emotion Distribution', hover_data=['Score'])
|
141 |
fig.update_layout(height=500, width=200)
|
142 |
return fig
|
143 |
def _history_of_chat(self):
|