Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -248,7 +248,7 @@ def create_avg_target_display(avg_target):
|
|
| 248 |
|
| 249 |
ax.text(0.5, 0.5, f"{avg_target:.1f}",
|
| 250 |
ha='center', va='center', fontsize=24, fontweight='bold')
|
| 251 |
-
ax.text(0.5, 0.2, "Scale: 1-
|
| 252 |
ha='center', va='center', fontsize=10, color='gray')
|
| 253 |
|
| 254 |
ax.set_xlim(0, 1)
|
|
@@ -425,9 +425,9 @@ with gr.Blocks(css=css, js=js, theme=gr.themes.Soft()) as demo:
|
|
| 425 |
# Charts
|
| 426 |
with gr.Row():
|
| 427 |
with gr.Column():
|
| 428 |
-
factor_performance_plot = gr.Image(
|
| 429 |
with gr.Column():
|
| 430 |
-
driver_analysis_plot = gr.Image(
|
| 431 |
|
| 432 |
# Hidden state for file path
|
| 433 |
prospects_file = gr.State(value="example_files/Volkswagen Non Customers.xlsx")
|
|
|
|
| 248 |
|
| 249 |
ax.text(0.5, 0.5, f"{avg_target:.1f}",
|
| 250 |
ha='center', va='center', fontsize=24, fontweight='bold')
|
| 251 |
+
ax.text(0.5, 0.2, "Scale: 1-6",
|
| 252 |
ha='center', va='center', fontsize=10, color='gray')
|
| 253 |
|
| 254 |
ax.set_xlim(0, 1)
|
|
|
|
| 425 |
# Charts
|
| 426 |
with gr.Row():
|
| 427 |
with gr.Column():
|
| 428 |
+
factor_performance_plot = gr.Image(show_label=False)
|
| 429 |
with gr.Column():
|
| 430 |
+
driver_analysis_plot = gr.Image(show_label=False)
|
| 431 |
|
| 432 |
# Hidden state for file path
|
| 433 |
prospects_file = gr.State(value="example_files/Volkswagen Non Customers.xlsx")
|