Commit
·
459b579
1
Parent(s):
51d1c96
Update app.py
Browse files
app.py
CHANGED
@@ -134,7 +134,7 @@ def calculate(image_in, audio_in):
|
|
134 |
with open("test.json", "w") as f:
|
135 |
f.write(jq_run.stdout.decode('utf-8').strip())
|
136 |
|
137 |
-
os.system(f"cd /content/one-shot-talking-face && python3 -B test_script.py --img_path /content/
|
138 |
return "/content/train/image_audio.mp4"
|
139 |
|
140 |
def one_shot_talking(image_in,audio_in):
|
|
|
134 |
with open("test.json", "w") as f:
|
135 |
f.write(jq_run.stdout.decode('utf-8').strip())
|
136 |
|
137 |
+
os.system(f"cd /content/one-shot-talking-face && python3 -B test_script.py --img_path /content/image.png --audio_path /content/audio.wav --phoneme_path /content/test.json --save_dir /content/train")
|
138 |
return "/content/train/image_audio.mp4"
|
139 |
|
140 |
def one_shot_talking(image_in,audio_in):
|