Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -62,7 +62,7 @@ def predict_age(image):
|
|
| 62 |
import gradio as gr
|
| 63 |
|
| 64 |
gr.Interface(
|
| 65 |
-
fn=
|
| 66 |
inputs=gr.Image(type="pil", image_mode="RGB"),
|
| 67 |
outputs="number", # or "text" if your output is text-based
|
| 68 |
title="Age Prediction from Face",
|
|
|
|
| 62 |
import gradio as gr
|
| 63 |
|
| 64 |
gr.Interface(
|
| 65 |
+
fn=predict_age,
|
| 66 |
inputs=gr.Image(type="pil", image_mode="RGB"),
|
| 67 |
outputs="number", # or "text" if your output is text-based
|
| 68 |
title="Age Prediction from Face",
|