Skip to content

Commit

Permalink
Python codestyle format (#22)
Browse files Browse the repository at this point in the history
  • Loading branch information
laves authored Oct 2, 2024
1 parent 0c4fa13 commit afb18ce
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion recipes/llm-voice-assistant/python/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -311,7 +311,10 @@ def llm_callback(text: str) -> None:
'utterance_end_sec': utterance_end_sec})
print(text, end='', flush=True)

print(f"\nLLM (say {'`Picovoice`' if keyword_model_path is None else 'the wake word'} to interrupt) > ", end='', flush=True)
print(
f"\nLLM (say {'`Picovoice`' if keyword_model_path is None else 'the wake word'} to interrupt) > ",
end='',
flush=True)
res = pllm.generate(
prompt=dialog.prompt(),
completion_token_limit=picollm_completion_token_limit,
Expand Down

0 comments on commit afb18ce

Please sign in to comment.