sammy786 commited on
Commit
4ff7084
·
verified ·
1 Parent(s): c304ff0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -2871,14 +2871,14 @@ with gr.Blocks(
2871
  fig1.add_trace(go.Bar(
2872
  name='Optimal (with AI)',
2873
  x=[m[0] for m in top_merchants],
2874
- y=[m[0]['optimal'] for m in top_merchants],
2875
  marker_color='#4caf50'
2876
  ))
2877
 
2878
  fig1.add_trace(go.Bar(
2879
  name='Actual (what you earned)',
2880
  x=[m[0] for m in top_merchants],
2881
- y=[m[0]['actual'] for m in top_merchants],
2882
  marker_color='#ff9800'
2883
  ))
2884
 
 
2871
  fig1.add_trace(go.Bar(
2872
  name='Optimal (with AI)',
2873
  x=[m[0] for m in top_merchants],
2874
+ y=[m[1]['optimal'] for m in top_merchants],
2875
  marker_color='#4caf50'
2876
  ))
2877
 
2878
  fig1.add_trace(go.Bar(
2879
  name='Actual (what you earned)',
2880
  x=[m[0] for m in top_merchants],
2881
+ y=[m[1]['actual'] for m in top_merchants],
2882
  marker_color='#ff9800'
2883
  ))
2884