Skip to content

Commit

Permalink
fixed python codestyle
Browse files Browse the repository at this point in the history
  • Loading branch information
matt200-ok committed Dec 30, 2024
1 parent 84bf62c commit fb8848d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion recipes/llm-voice-assistant/python/cli/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -523,6 +523,7 @@ def tick(self):
pcm = self.recorder.read()
self.listener.process(pcm)


def main(config):
stop = [False]

Expand Down Expand Up @@ -552,7 +553,7 @@ def handler(_, __) -> None:
access_key=config['access_key'],
endpoint_duration_sec=config['cheetah_endpoint_duration_sec'],
enable_automatic_punctuation=True)

print(f"→ Cheetah v{cheetah.version}")

pv_recorder = PvRecorder(frame_length=porcupine.frame_length)
Expand Down

0 comments on commit fb8848d

Please sign in to comment.