Commit
·
2ea8134
1
Parent(s):
e8b688a
Update app.py
Browse files
app.py
CHANGED
@@ -47,6 +47,7 @@ def one_shot(image,input_text,gender):
|
|
47 |
os.system(f"cd /content/one-shot-talking-face && python3 -B test_script.py --img_path /content/image_pre.png --audio_path /content/audio.wav --phoneme_path /content/test.json --save_dir /content/train")
|
48 |
return "/content/train/image_pre_audio.mp4"
|
49 |
exit()
|
|
|
50 |
#1. Extract the frames from the video file using PyVideoFramesExtractor
|
51 |
os.system(f"python /content/PyVideoFramesExtractor/extract.py --video=/content/train/image_pre_audio.mp4")
|
52 |
|
|
|
47 |
os.system(f"cd /content/one-shot-talking-face && python3 -B test_script.py --img_path /content/image_pre.png --audio_path /content/audio.wav --phoneme_path /content/test.json --save_dir /content/train")
|
48 |
return "/content/train/image_pre_audio.mp4"
|
49 |
exit()
|
50 |
+
|
51 |
#1. Extract the frames from the video file using PyVideoFramesExtractor
|
52 |
os.system(f"python /content/PyVideoFramesExtractor/extract.py --video=/content/train/image_pre_audio.mp4")
|
53 |
|