Karthikeyan commited on
Commit
001e9e6
1 Parent(s): 80335f6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -130,7 +130,7 @@ class LangChain_Document_QA:
130
  return fig
131
  def _display_graph_emotion(self,customer_emotion_score):
132
  fig = px.pie(customer_emotion_score, values='Score', names='Emotion', title='Emotion Distribution', hover_data=['Score'])
133
- fig.update_traces(texttemplate='Emotion', textposition='outside')
134
  fig.update_layout(height=500, width=200)
135
  return fig
136
  def _history_of_chat(self):
 
130
  return fig
131
  def _display_graph_emotion(self,customer_emotion_score):
132
  fig = px.pie(customer_emotion_score, values='Score', names='Emotion', title='Emotion Distribution', hover_data=['Score'])
133
+ #fig.update_traces(texttemplate='Emotion', textposition='outside')
134
  fig.update_layout(height=500, width=200)
135
  return fig
136
  def _history_of_chat(self):