Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -38,7 +38,7 @@ def classify_text(text):
|
|
38 |
# Process predictions to add the custom logic
|
39 |
result = []
|
40 |
for prediction in predictions:
|
41 |
-
if prediction['score'] > 0.
|
42 |
label = "Immunization"
|
43 |
else:
|
44 |
label = "None"
|
|
|
38 |
# Process predictions to add the custom logic
|
39 |
result = []
|
40 |
for prediction in predictions:
|
41 |
+
if prediction['score'] > 0.92:
|
42 |
label = "Immunization"
|
43 |
else:
|
44 |
label = "None"
|