Wajahat698 commited on
Commit
9dc1a68
·
verified ·
1 Parent(s): f52d276

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
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-10",
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(label="")
429
  with gr.Column():
430
- driver_analysis_plot = gr.Image(label="")
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")