Jamin252 commited on
Commit
77e9932
·
1 Parent(s): 4ea0bc3

fix app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -12,7 +12,7 @@ def age_predict(photo):
12
 
13
  # Model for Age detection
14
  age_weights = "age_deploy.prototxt"
15
- age_config = "age_net.caffemodel"
16
  age_Net = cv2.dnn.readNet(age_config, age_weights)
17
 
18
 
@@ -79,7 +79,7 @@ inter_arguments = {
79
  "inputs":gr.components.Image(),
80
  "outputs": gr.components.Textbox(),
81
  "title": "Age Detector",
82
- "description": "Detect your age calss",
83
 
84
  }
85
  gr.Interface(**inter_arguments).launch(share=True)
 
12
 
13
  # Model for Age detection
14
  age_weights = "age_deploy.prototxt"
15
+ age_config = "age_net1.caffemodel"
16
  age_Net = cv2.dnn.readNet(age_config, age_weights)
17
 
18
 
 
79
  "inputs":gr.components.Image(),
80
  "outputs": gr.components.Textbox(),
81
  "title": "Age Detector",
82
+ "description": "Detect your age class",
83
 
84
  }
85
  gr.Interface(**inter_arguments).launch(share=True)