tomofi commited on
Commit
4a935de
1 Parent(s): b3d2248

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -11,7 +11,9 @@ def infer(im):
11
  'model_type': (None, 'detection'),
12
  'media_type': (None, 'photo'),
13
  }
14
- res = requests.post(url, files=files).json()
 
 
15
  img = im.convert('RGB')
16
 
17
  words = []
 
11
  'model_type': (None, 'detection'),
12
  'media_type': (None, 'photo'),
13
  }
14
+ r = requests.post(url, files=files)
15
+ res = r.json()
16
+ print(r, res)
17
  img = im.convert('RGB')
18
 
19
  words = []