imamnurby commited on
Commit
b8a8e83
1 Parent(s): 1c77037

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -65,9 +65,9 @@ def predict():
65
  config
66
  )
67
  print("success prediction!")
68
- return {
69
  'predictions': predictions
70
- }
71
 
72
  if __name__ == '__main__':
73
  app.run(host="0.0.0.0", port=7860)
 
65
  config
66
  )
67
  print("success prediction!")
68
+ return jsonify({
69
  'predictions': predictions
70
+ })
71
 
72
  if __name__ == '__main__':
73
  app.run(host="0.0.0.0", port=7860)