VoiceCraft
VoiceCraft copied to clipboard
Possible Use Before Defined
https://github.com/jasonppy/VoiceCraft/blob/master/inference_speech_editing_scale.py#L127
could you elaborate?
could you elaborate?
end can be returned as not defined due to the if statement and it not being declared prior.
does it happen with the demo example? If not, it could be some error when you specify target_transcript
and edit_type
in cell 5 of inference_speech_editing.ipynb
. for example, right now the code only support single edits, and therefore you shouldn't change more than one span in the target_transcript
.
(inference_speech_editing_scale.py
does support multiple edits, but I haven't gotten the time to make a runnable example)
Or you can reply here your orig_transcirpt
, target_transcript
, and edit_type
.