JasonTPhillipsJr commited on
Commit
5914cea
1 Parent(s): 97bda4d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -39,9 +39,9 @@ spaBERT_model.eval()
39
 
40
  # Load data using SpatialDataset
41
  spatialDataset = PbfMapDataset(data_file_path = data_file_path,
42
- tokenizer = tokenizer,
43
- #max_token_len = 256, #Originally 300
44
- max_token_len = max_seq_length, #Originally 300
45
  distance_norm_factor = 0.0001,
46
  spatial_dist_fill = 20,
47
  with_type = False,
 
39
 
40
  # Load data using SpatialDataset
41
  spatialDataset = PbfMapDataset(data_file_path = data_file_path,
42
+ tokenizer = bert_tokenizer,
43
+ max_token_len = 256, #Originally 300
44
+ #max_token_len = max_seq_length, #Originally 300
45
  distance_norm_factor = 0.0001,
46
  spatial_dist_fill = 20,
47
  with_type = False,