Spaces:
Runtime error
Runtime error
fix app.py
Browse files
app.py
CHANGED
@@ -74,8 +74,8 @@ def age_predict(photo):
|
|
74 |
return f'{mssg}:{age}'
|
75 |
inter_arguments = {
|
76 |
"fn": age_predict,
|
77 |
-
"inputs":gr.
|
78 |
-
"outputs": gr.
|
79 |
"title": "Age Detector",
|
80 |
"description": "Detect your age calss",
|
81 |
"interpretation": 'default',
|
|
|
74 |
return f'{mssg}:{age}'
|
75 |
inter_arguments = {
|
76 |
"fn": age_predict,
|
77 |
+
"inputs":gr.components.Image(),
|
78 |
+
"outputs": gr.components.Textbox(),
|
79 |
"title": "Age Detector",
|
80 |
"description": "Detect your age calss",
|
81 |
"interpretation": 'default',
|