abhishekrs4 commited on
Commit
8d505f8
1 Parent(s): ee97459

updated logs in flask app

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -74,7 +74,7 @@ def predict() -> Response:
74
  json_pred = jsonify(dict_pred)
75
  except TypeError as e:
76
  json_pred = jsonify({"error": str(e)})
77
- logging.info(json_pred)
78
  return json_pred
79
 
80
  if __name__ == "__main__":
 
74
  json_pred = jsonify(dict_pred)
75
  except TypeError as e:
76
  json_pred = jsonify({"error": str(e)})
77
+ logging.info(dict_pred)
78
  return json_pred
79
 
80
  if __name__ == "__main__":