pragnakalp commited on
Commit
0471778
1 Parent(s): 8b4626f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -98,7 +98,7 @@ def calculate(image_in, audio_in):
98
  with open("test.json", "w") as f:
99
  f.write(jq_run.stdout.decode('utf-8').strip())
100
  # device = torch.device('cuda' if torch.cuda.is_available() else 'cpu')
101
- os.system(f"rm -rf /content/image_audio.mp4")
102
  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")
103
  return "/content/train/image_audio.mp4"
104
 
 
98
  with open("test.json", "w") as f:
99
  f.write(jq_run.stdout.decode('utf-8').strip())
100
  # device = torch.device('cuda' if torch.cuda.is_available() else 'cpu')
101
+ # os.system(f"rm -rf /content/image_audio.mp4")
102
  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")
103
  return "/content/train/image_audio.mp4"
104