Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -30,8 +30,8 @@ from src.training.classifier import ForgeryClassifier
|
|
| 30 |
CLASS_NAMES = {0: 'Copy-Move', 1: 'Splicing', 2: 'Text Substitution'}
|
| 31 |
CLASS_COLORS = {
|
| 32 |
0: (217, 83, 79), # #d9534f - Muted red (Copy-Move)
|
| 33 |
-
1: (
|
| 34 |
-
2: (
|
| 35 |
}
|
| 36 |
|
| 37 |
# Actual model performance metrics
|
|
|
|
| 30 |
CLASS_NAMES = {0: 'Copy-Move', 1: 'Splicing', 2: 'Text Substitution'}
|
| 31 |
CLASS_COLORS = {
|
| 32 |
0: (217, 83, 79), # #d9534f - Muted red (Copy-Move)
|
| 33 |
+
1: (92, 184, 92), # #5cb85c - Muted green (Splicing)
|
| 34 |
+
2: (65, 105, 225) # #4169E1 - Royal blue (Text Substitution/Generation)
|
| 35 |
}
|
| 36 |
|
| 37 |
# Actual model performance metrics
|