Jamshaid89 commited on
Commit
24eb744
1 Parent(s): daf2e20

Fixed returning output_img

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -107,7 +107,7 @@ def predict_image(image):
107
 
108
  # Add the text to the image
109
  cv2.putText(output_img ,identity["name"], text_position, cv2.FONT_HERSHEY_SIMPLEX, 0.7, (0, 255,0 ), 2)
110
- return image
111
 
112
 
113
  # image_input = gr.inputs.Image(shape=(160,160))
 
107
 
108
  # Add the text to the image
109
  cv2.putText(output_img ,identity["name"], text_position, cv2.FONT_HERSHEY_SIMPLEX, 0.7, (0, 255,0 ), 2)
110
+ return output_img
111
 
112
 
113
  # image_input = gr.inputs.Image(shape=(160,160))