Jamin252 commited on
Commit
d509efb
·
1 Parent(s): 3ca4491

fix app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
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.inputs.Image(),
78
- "outputs": gr.outputs.Textbox(),
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',