oh-my-dear-ai commited on
Commit
64aeca7
·
verified ·
1 Parent(s): c561456

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -349,7 +349,7 @@ 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
- return 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
+ return next(func(ref_wav_path, *args))
353
 
354
  return inner
355