pragnakalp commited on
Commit
9875c73
·
1 Parent(s): 1039ad0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -4
app.py CHANGED
@@ -117,7 +117,6 @@ def merge_frames():
117
  print(filenames)
118
  images = list(map(lambda filename: imageio.imread("/content/video_results/restored_imgs/"+filename), filenames))
119
 
120
-
121
  imageio.mimsave('/content/video_output.mp4', images, fps=25.0) # modify the frame duration as needed
122
  return "/content/video_output.mp4"
123
 
@@ -156,10 +155,7 @@ def one_shot_talking(image_in,audio_in):
156
  merge_frames()
157
  return audio_video()
158
 
159
-
160
-
161
 
162
-
163
  def one_shot(image_in,input_text,gender):
164
  if gender == "Female":
165
  tts = gTTS(input_text)
 
117
  print(filenames)
118
  images = list(map(lambda filename: imageio.imread("/content/video_results/restored_imgs/"+filename), filenames))
119
 
 
120
  imageio.mimsave('/content/video_output.mp4', images, fps=25.0) # modify the frame duration as needed
121
  return "/content/video_output.mp4"
122
 
 
155
  merge_frames()
156
  return audio_video()
157
 
 
 
158
 
 
159
  def one_shot(image_in,input_text,gender):
160
  if gender == "Female":
161
  tts = gTTS(input_text)