oh-my-dear-ai commited on
Commit
670390f
·
verified ·
1 Parent(s): 04dc998

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -349,7 +349,8 @@ def get_ref_path_decor(func):
349
  if not ref_wav_path:
350
  print("Audio file not found for the selected text.")
351
  return
352
- yield next(func(ref_wav_path, *args))
 
353
 
354
  return inner
355
 
 
349
  if not ref_wav_path:
350
  print("Audio file not found for the selected text.")
351
  return
352
+ wav_factory = func(ref_wav_path, *args)
353
+ yield next(wav_factory)
354
 
355
  return inner
356