Muhammadidrees commited on
Commit
15feda4
·
verified ·
1 Parent(s): 1c3e9d4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -55,8 +55,8 @@ def generate_video(
55
 
56
  try:
57
  global pipe, fantasytalking, wav2vec_processor, wav2vec
58
- if pipe is None:
59
- pipe,fantasytalking,wav2vec_processor,wav2vec = load_models(args)
60
  output_path=main(
61
  args,pipe,fantasytalking,wav2vec_processor,wav2vec
62
  )
 
55
 
56
  try:
57
  global pipe, fantasytalking, wav2vec_processor, wav2vec
58
+
59
+ pipe,fantasytalking,wav2vec_processor,wav2vec = load_models(args)
60
  output_path=main(
61
  args,pipe,fantasytalking,wav2vec_processor,wav2vec
62
  )