jonathanjordan21 commited on
Commit
8000abb
·
verified ·
1 Parent(s): 276598e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -41,7 +41,7 @@ xgb_model.load_model("xgb_model(1).json")
41
  def predict_score(lat, lon, api_key):
42
  # Convert input to tensor
43
  # inputs = torch.tensor([[lat, lon]], dtype=torch.float32)
44
- inputs = compute_features((lat,lon), api_key)
45
  print("[INPUTS]", inputs)
46
  num_banks = inputs.pop("num_banks_in_radius", 0)
47
 
 
41
  def predict_score(lat, lon, api_key):
42
  # Convert input to tensor
43
  # inputs = torch.tensor([[lat, lon]], dtype=torch.float32)
44
+ inputs = compute_features((lat,lon), api_key, 500)
45
  print("[INPUTS]", inputs)
46
  num_banks = inputs.pop("num_banks_in_radius", 0)
47