ysharma HF staff commited on
Commit
86b9efc
1 Parent(s): 43bfed9
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -101,7 +101,7 @@ def engine(text_input):
101
 
102
  #Calculate the desired frame per second based on given audio length and entities identified
103
  fps= entities_num / 19 #length of audio file #13 / 19
104
- fps = format(fps, '.5f')
105
  print('fps is: ',fps)
106
 
107
  #Convert string of images into a video
 
101
 
102
  #Calculate the desired frame per second based on given audio length and entities identified
103
  fps= entities_num / 19 #length of audio file #13 / 19
104
+ fps = float(format(fps, '.5f'))
105
  print('fps is: ',fps)
106
 
107
  #Convert string of images into a video