CineAI commited on
Commit
b3fbe5e
1 Parent(s): 8c12d4e

Update audio_processing/T2A.py

Browse files
Files changed (1) hide show
  1. audio_processing/T2A.py +2 -2
audio_processing/T2A.py CHANGED
@@ -30,10 +30,10 @@ class T2A:
30
 
31
  print(f"type : {type(output)}")
32
 
33
- duration = __get_duration(output)
34
 
35
  print(f"duration : {duration}")
36
 
37
  return output, SAMPLING_RATE, duration
38
  except Exception as e:
39
- logging.error(f"Raised an error : {e}")
 
30
 
31
  print(f"type : {type(output)}")
32
 
33
+ duration = self.__get_duration(output)
34
 
35
  print(f"duration : {duration}")
36
 
37
  return output, SAMPLING_RATE, duration
38
  except Exception as e:
39
+ logging.error(e)