Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -24,7 +24,7 @@ def predict(image):
|
|
24 |
iface = gr.Interface(
|
25 |
fn=predict,
|
26 |
inputs="image",
|
27 |
-
outputs="
|
28 |
title="Facial Age Prediction",
|
29 |
description="This application predicts your age from a facial image."
|
30 |
)
|
|
|
24 |
iface = gr.Interface(
|
25 |
fn=predict,
|
26 |
inputs="image",
|
27 |
+
outputs="label", # Use the model's original output type
|
28 |
title="Facial Age Prediction",
|
29 |
description="This application predicts your age from a facial image."
|
30 |
)
|