Spaces:
Runtime error
Runtime error
Karthikeyan
commited on
Commit
•
1bc01da
1
Parent(s):
921625c
Update app.py
Browse files
app.py
CHANGED
@@ -135,7 +135,7 @@ class LangChain_Document_QA:
|
|
135 |
fig.update_traces(texttemplate='%{x:.2f}%', textposition='outside')
|
136 |
fig.update_layout(height=500, width=200)
|
137 |
return fig
|
138 |
-
def _display_graph_emotion(self,customer_emotion_score)
|
139 |
fig = px.pie(customer_emotion_score, values='Score', names='Emotion', title='Emotion Distribution')
|
140 |
fig.update_traces(texttemplate='%{x:.2f}%', textposition='outside')
|
141 |
fig.update_layout(height=500, width=200)
|
|
|
135 |
fig.update_traces(texttemplate='%{x:.2f}%', textposition='outside')
|
136 |
fig.update_layout(height=500, width=200)
|
137 |
return fig
|
138 |
+
def _display_graph_emotion(self,customer_emotion_score):
|
139 |
fig = px.pie(customer_emotion_score, values='Score', names='Emotion', title='Emotion Distribution')
|
140 |
fig.update_traces(texttemplate='%{x:.2f}%', textposition='outside')
|
141 |
fig.update_layout(height=500, width=200)
|