Update app.py
Browse files
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 |
-
|
|
|
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 |
|