Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -30,6 +30,7 @@ def main_func(SEQN, RIDAGEYR, RIAGENDR, PAQ605, BMXBMI, LBXGLU, DIQ010, LBXGLT,L
|
|
30 |
local_plot = plt.gcf()
|
31 |
plt.close()
|
32 |
|
|
|
33 |
return {"Lower Predicted Age": float(prob[0][0]), "Higher Predicted Age": 1-float(prob[0][0])}, local_plot
|
34 |
|
35 |
# Create the UI
|
|
|
30 |
local_plot = plt.gcf()
|
31 |
plt.close()
|
32 |
|
33 |
+
#return {"Lower Predicted Age": float(prob[0][0]), "Higher Predicted Age": 1-float(prob[0][0])}, local_plot
|
34 |
return {"Lower Predicted Age": float(prob[0][0]), "Higher Predicted Age": 1-float(prob[0][0])}, local_plot
|
35 |
|
36 |
# Create the UI
|