Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -89,7 +89,7 @@ def check_image_format(filepath):
|
|
89 |
return False
|
90 |
|
91 |
# Function to predict hemoglobin value with label encoding for gender
|
92 |
-
def predict_hemoglobin(age,
|
93 |
try:
|
94 |
# Ensure the image is not None
|
95 |
if image is None:
|
|
|
89 |
return False
|
90 |
|
91 |
# Function to predict hemoglobin value with label encoding for gender
|
92 |
+
def predict_hemoglobin(age, Gender, image):
|
93 |
try:
|
94 |
# Ensure the image is not None
|
95 |
if image is None:
|