fffiloni commited on
Commit
1f4d91a
·
verified ·
1 Parent(s): 9645faf

Update hf_gradio_app.py

Browse files
Files changed (1) hide show
  1. hf_gradio_app.py +1 -1
hf_gradio_app.py CHANGED
@@ -185,7 +185,7 @@ def generate(input_video, input_audio, seed, progress=gr.Progress(track_tqdm=Tru
185
 
186
  # Save the output video
187
  unique_id = str(uuid.uuid4())
188
- video_path = os.path.join(output_dir, f"memo-{seed}_{unique_id}.png")
189
  tensor_to_video(video_frames, video_path, input_audio, fps=fps)
190
 
191
  return video_path
 
185
 
186
  # Save the output video
187
  unique_id = str(uuid.uuid4())
188
+ video_path = os.path.join(output_dir, f"memo-{seed}_{unique_id}.mp4")
189
  tensor_to_video(video_frames, video_path, input_audio, fps=fps)
190
 
191
  return video_path