yangwu commited on
Commit
6c6338e
1 Parent(s): 0595a8e

update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -7,7 +7,7 @@ def test():
7
  print('testing backend interface...')
8
  url = 'http://81.70.158.155:5005/predict'
9
  with open('./2680.jpg', 'rb') as f:
10
- try:
11
  r = requests.post(url, files = {'image' : f}, timeout=10)
12
  ret = json.loads(r.text)
13
  except Exception as e:
 
7
  print('testing backend interface...')
8
  url = 'http://81.70.158.155:5005/predict'
9
  with open('./2680.jpg', 'rb') as f:
10
+ try:
11
  r = requests.post(url, files = {'image' : f}, timeout=10)
12
  ret = json.loads(r.text)
13
  except Exception as e: