Spaces:
Running
Running
Update app.py
Browse files
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 == '
|
| 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
|