hyunjunian commited on
Commit
9727e3a
·
1 Parent(s): ab8a95f
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -8,7 +8,7 @@ def greet(image):
8
  'Prediction-Key': '076c4e5d9fa94309bbfda7dd8af0f30d',
9
  'Content-Type': 'application/octet-stream',
10
  },
11
- data=image,
12
  )
13
 
14
  return r.text
 
8
  'Prediction-Key': '076c4e5d9fa94309bbfda7dd8af0f30d',
9
  'Content-Type': 'application/octet-stream',
10
  },
11
+ files={'image': image.tobytes()},
12
  )
13
 
14
  return r.text