sammy786 commited on
Commit
6087316
·
verified ·
1 Parent(s): 7b1dc4b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -2652,14 +2652,14 @@ with gr.Blocks(
2652
  fig1.add_trace(go.Bar(
2653
  name='Optimal (with AI)',
2654
  x=[m[0] for m in top_merchants],
2655
- y=[m[0]['optimal'] for m in top_merchants],
2656
  marker_color='#4caf50'
2657
  ))
2658
 
2659
  fig1.add_trace(go.Bar(
2660
  name='Actual (what you earned)',
2661
  x=[m[0] for m in top_merchants],
2662
- y=[m[0]['actual'] for m in top_merchants],
2663
  marker_color='#ff9800'
2664
  ))
2665
 
 
2652
  fig1.add_trace(go.Bar(
2653
  name='Optimal (with AI)',
2654
  x=[m[0] for m in top_merchants],
2655
+ y=[m[1]['optimal'] for m in top_merchants],
2656
  marker_color='#4caf50'
2657
  ))
2658
 
2659
  fig1.add_trace(go.Bar(
2660
  name='Actual (what you earned)',
2661
  x=[m[0] for m in top_merchants],
2662
+ y=[m[1]['actual'] for m in top_merchants],
2663
  marker_color='#ff9800'
2664
  ))
2665