Skip to content

Commit

Permalink
Merge pull request #100 from fractalego/interrupt-speech
Browse files Browse the repository at this point in the history
signpost for change
  • Loading branch information
fractalego committed Jul 10, 2024
2 parents 27378a2 + 5f3d0f4 commit e05d8e2
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion todo.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
* dependabot!!!
* use poetry

PharazonE
* upload to hetzner and make it work for some retrieval tasks
* develop more rules + use-cases for voice and other

Expand Down
2 changes: 1 addition & 1 deletion wafl/speaker/fairseq_speaker.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ def __init__(self, config):
self._connector = SpeakerConnectorFactory.get_connector(config)
self._p = pyaudio.PyAudio()

async def speak(self, text):
async def speak(self, text): #### This is the function that is called in the VoiceInterface class
text = convert_numbers_to_words(text)
prediction = await self._connector.predict(text)
wav = prediction["wav"]
Expand Down

0 comments on commit e05d8e2

Please sign in to comment.