Spaces:
Runtime error
Runtime error
app.py
CHANGED
@@ -104,7 +104,7 @@ def engine(text_input):
|
|
104 |
speech = text2speech(text_input)
|
105 |
|
106 |
#getting audio clip's duration
|
107 |
-
audio_length = int(WAVE(
|
108 |
|
109 |
#Calculate the desired frame per second based on given audio length and entities identified
|
110 |
fps= entities_num / audio_length #19 #length of audio file #13 / 19
|
|
|
104 |
speech = text2speech(text_input)
|
105 |
|
106 |
#getting audio clip's duration
|
107 |
+
audio_length = int(WAVE(speech).info.length)
|
108 |
|
109 |
#Calculate the desired frame per second based on given audio length and entities identified
|
110 |
fps= entities_num / audio_length #19 #length of audio file #13 / 19
|