Spanicin commited on
Commit
1600e93
1 Parent(s): d9e365d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -317,7 +317,8 @@ def generate_video():
317
  print('Audio file saved using whisper')
318
 
319
  elif voice_cloning == 'yes':
320
- user_voice = request.files['user_voice']
 
321
 
322
  with tempfile.NamedTemporaryFile(suffix=".wav", prefix="user_voice_",dir=TEMP_DIR.name, delete=False) as temp_file:
323
  user_voice_path = temp_file.name
 
317
  print('Audio file saved using whisper')
318
 
319
  elif voice_cloning == 'yes':
320
+ # user_voice = request.files['user_voice']
321
+ user_voice = '/home/user/app/images/Recording.m4a'
322
 
323
  with tempfile.NamedTemporaryFile(suffix=".wav", prefix="user_voice_",dir=TEMP_DIR.name, delete=False) as temp_file:
324
  user_voice_path = temp_file.name