Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -26,7 +26,7 @@ MODEL_ID = "Perth0603/phishing-email-mobilebert"
|
|
| 26 |
app = FastAPI(title="Phishing Text Classifier with Preprocessing", version="1.0.0")
|
| 27 |
|
| 28 |
# Temperature for softening predictions (1.0 = normal, >1.0 = softer, <1.0 = sharper)
|
| 29 |
-
TEMPERATURE =
|
| 30 |
|
| 31 |
|
| 32 |
# ============================================================================
|
|
|
|
| 26 |
app = FastAPI(title="Phishing Text Classifier with Preprocessing", version="1.0.0")
|
| 27 |
|
| 28 |
# Temperature for softening predictions (1.0 = normal, >1.0 = softer, <1.0 = sharper)
|
| 29 |
+
TEMPERATURE = 3.0 # Adjust this value (try 1.5 to 3.0)
|
| 30 |
|
| 31 |
|
| 32 |
# ============================================================================
|