Spaces:
Running
on
Zero
Running
on
Zero
Update analyze.py
Browse files- 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("./
|
104 |
text_bins_dict = json.load(json_file)
|
105 |
|
106 |
bin_edges_dict = {}
|
107 |
-
with open("./
|
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")
|