Nazhar commited on
Commit
7572164
·
verified ·
1 Parent(s): d8e6761

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -298,8 +298,8 @@ with news_analysis:
298
  set_value = set(list_value)
299
  return set_value
300
 
301
- plot_sub_pos = plot_sub_pos['Feature'].apply(get_set)
302
- plot_sub_neg = plot_sub_neg['Feature'].apply(get_set)
303
  # Create the line trace for stock prices
304
  line_stock = go.Scatter(x=events['Date'], y=events['Price'], mode='lines', name='OGDCL Close Price',
305
  line=dict(dash='solid', color=cs.close_line_color, width=2),
 
298
  set_value = set(list_value)
299
  return set_value
300
 
301
+ plot_sub_pos['Feature'] = plot_sub_pos['Feature'].apply(get_set)
302
+ plot_sub_neg['Feature'] = plot_sub_neg['Feature'].apply(get_set)
303
  # Create the line trace for stock prices
304
  line_stock = go.Scatter(x=events['Date'], y=events['Price'], mode='lines', name='OGDCL Close Price',
305
  line=dict(dash='solid', color=cs.close_line_color, width=2),