Spaces:
Build error
Build error
artificialguybr
commited on
Commit
•
e7c3f3f
1
Parent(s):
806257e
Update Wav2Lip/inference.py
Browse files- Wav2Lip/inference.py +0 -4
Wav2Lip/inference.py
CHANGED
@@ -248,10 +248,6 @@ def main():
|
|
248 |
|
249 |
batch_size = args.wav2lip_batch_size
|
250 |
gen = datagen(full_frames.copy(), mel_chunks)
|
251 |
-
|
252 |
-
if not out.isOpened():
|
253 |
-
print("Error: VideoWriter didn't open successfully.")
|
254 |
-
return
|
255 |
|
256 |
for i, (img_batch, mel_batch, frames, coords) in enumerate(tqdm(gen,
|
257 |
total=int(np.ceil(float(len(mel_chunks))/batch_size)))):
|
|
|
248 |
|
249 |
batch_size = args.wav2lip_batch_size
|
250 |
gen = datagen(full_frames.copy(), mel_chunks)
|
|
|
|
|
|
|
|
|
251 |
|
252 |
for i, (img_batch, mel_batch, frames, coords) in enumerate(tqdm(gen,
|
253 |
total=int(np.ceil(float(len(mel_chunks))/batch_size)))):
|