Skip to content

Conversation

huutuongtu
Copy link
Contributor

A bug will likely appear here:

if audio_bytes == 'end':
    print("End of generation")
    yield None
    continue

yield None caused AttributeError: None object has no attribute 'encode'.
Removing yield None led to an infinite loop.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant