chompionsawelo commited on
Commit
b48459a
·
1 Parent(s): 77070f9

minor fixes

Browse files
Files changed (1) hide show
  1. adjust.py +4 -1
adjust.py CHANGED
@@ -13,7 +13,7 @@ current_pos = 0
13
  speaker_to_name = {"Speaker": "Name"}
14
  speaker_to_sample = {"Speaker": "File"}
15
 
16
- sample_groups, _ = load_groups_json()
17
 
18
 
19
  def get_current():
@@ -45,9 +45,12 @@ def prepare_output(input_file):
45
 
46
 
47
  def get_speakers():
 
48
  global speaker_to_name
49
  global speaker_to_sample
50
 
 
 
51
  speaker_to_name = {}
52
  speaker_to_sample = {}
53
 
 
13
  speaker_to_name = {"Speaker": "Name"}
14
  speaker_to_sample = {"Speaker": "File"}
15
 
16
+ sample_groups = []
17
 
18
 
19
  def get_current():
 
45
 
46
 
47
  def get_speakers():
48
+ global sample_groups
49
  global speaker_to_name
50
  global speaker_to_sample
51
 
52
+ sample_groups, _ = load_groups_json()
53
+ print(f"SAMPLE GROUP: {sample_groups}")
54
  speaker_to_name = {}
55
  speaker_to_sample = {}
56