Spaces:
Runtime error
Runtime error
Karthikeyan
commited on
Commit
•
86e6738
1
Parent(s):
032eb48
Update app.py
Browse files
app.py
CHANGED
@@ -149,7 +149,7 @@ class LangChain_Document_QA:
|
|
149 |
return summary
|
150 |
|
151 |
def _display_graph(self,sentiment_scores):
|
152 |
-
fig = px.bar(sentiment_scores, orientation='h'
|
153 |
fig.update_traces(texttemplate='%{x:.2f}%', textposition='outside')
|
154 |
fig.update_layout(height=500, width=200)
|
155 |
return fig
|
|
|
149 |
return summary
|
150 |
|
151 |
def _display_graph(self,sentiment_scores):
|
152 |
+
fig = px.bar(sentiment_scores, orientation='h')
|
153 |
fig.update_traces(texttemplate='%{x:.2f}%', textposition='outside')
|
154 |
fig.update_layout(height=500, width=200)
|
155 |
return fig
|