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