ylacombe HF staff commited on
Commit
a18836f
1 Parent(s): 1684ec5

Update analyze.py

Browse files
Files changed (1) hide show
  1. analyze.py +2 -2
analyze.py CHANGED
@@ -100,11 +100,11 @@ def run_dataspeech(
100
  ## 2. Map continuous tags to text tags
101
 
102
  text_bins_dict = {}
103
- with open("./create_dataset_app/v01_text_bins.json") as json_file:
104
  text_bins_dict = json.load(json_file)
105
 
106
  bin_edges_dict = {}
107
- with open("./create_dataset_app/v01_bin_edges.json") as json_file:
108
  bin_edges_dict = json.load(json_file)
109
 
110
  speaker_level_pitch_bins = text_bins_dict.get("speaker_level_pitch_bins")
 
100
  ## 2. Map continuous tags to text tags
101
 
102
  text_bins_dict = {}
103
+ with open("./v01_text_bins.json") as json_file:
104
  text_bins_dict = json.load(json_file)
105
 
106
  bin_edges_dict = {}
107
+ with open("./v01_bin_edges.json") as json_file:
108
  bin_edges_dict = json.load(json_file)
109
 
110
  speaker_level_pitch_bins = text_bins_dict.get("speaker_level_pitch_bins")