wi-lab commited on
Commit
1d8fa75
·
verified ·
1 Parent(s): 761503d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -72,7 +72,7 @@ def plot_confusion_matrix_beamPred(cm, classes, title, save_path, theme=None):
72
  avg_f1 = compute_f1_score(cm)
73
 
74
  # Choose the color scheme based on the user's mode
75
- if theme == 'dark':
76
  plt.style.use('dark_background') # Use dark mode styling
77
  text_color = 'white'
78
  cmap = 'cividis' # Dark-mode-friendly colormap
 
72
  avg_f1 = compute_f1_score(cm)
73
 
74
  # Choose the color scheme based on the user's mode
75
+ if theme == 'Dark':
76
  plt.style.use('dark_background') # Use dark mode styling
77
  text_color = 'white'
78
  cmap = 'cividis' # Dark-mode-friendly colormap