Update app.py
Browse files
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[
|
| 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[
|
| 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 |
|