Clement Vachet commited on
Commit
1a9ccec
·
1 Parent(s): 3c92d07

Update local host port

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -31,7 +31,7 @@ def predict_class_local(sepl, sepw, petl, petw):
31
 
32
 
33
  def predict_class_aws(sepl, sepw, petl, petw):
34
- if AWS_API == "http://localhost:8000":
35
  API_endpoint = AWS_API + "/2015-03-31/functions/function/invocations"
36
  else:
37
  API_endpoint = AWS_API + "/test/classify"
 
31
 
32
 
33
  def predict_class_aws(sepl, sepw, petl, petw):
34
+ if AWS_API == "http://localhost:8080":
35
  API_endpoint = AWS_API + "/2015-03-31/functions/function/invocations"
36
  else:
37
  API_endpoint = AWS_API + "/test/classify"