SamT6 commited on
Commit
08918ef
1 Parent(s): 5061a14

disaster type class

Browse files
Files changed (1) hide show
  1. app.py +2 -0
app.py CHANGED
@@ -14,7 +14,9 @@ def get_rest_url(model_name, host='127.0.0.1', port='8501', verb='predict'):
14
 
15
  def rest_request(data, url):
16
  payload = json.dumps({'instances': data.tolist()})
 
17
  response = requests.post(url=url, data=payload)
 
18
  return response
19
 
20
 
 
14
 
15
  def rest_request(data, url):
16
  payload = json.dumps({'instances': data.tolist()})
17
+ print('im here')
18
  response = requests.post(url=url, data=payload)
19
+ print('wooo')
20
  return response
21
 
22