Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Windows Arm64 #37

Merged
merged 13 commits into from
Jan 28, 2025
Merged

Windows Arm64 #37

merged 13 commits into from
Jan 28, 2025

Conversation

matt200-ok
Copy link
Contributor

No description provided.

Copy link
Member

@laves laves left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  • cap UI at a max height and width
  • cap resource usage bars at the same size as VU meter bars

@@ -320,9 +331,6 @@ def process(self, text: str, utterance_end_sec):

def interrupt(self):
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

random not here, but print(f'LLM (say ${ppn_prompt} to interrupt) > ', end='', flush=True). Makes it print ..say $Picovoice to ... with the extra $. We should probably remove the $

self.prompt = self.screen.subwin(1, self.screen.width - 2, self.screen.height - 2, 1)

if height >= 30 and width >= 120:
self.widgets['pcm_in'] = VerticalBar(
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could we maybe abstract this a tiny bit more for cleanliness? Maybe we check the height and width and call self.setDisplaySize with an enum (e.g. MINI, SMALL, MEDIUM, etc....) and this function will set up the display elements appropriately. This method allows for more flexibility in the future in the case we want to dynamically change the display size.

@matt200-ok matt200-ok requested a review from laves January 28, 2025 17:30
@laves laves merged commit 51002aa into main Jan 28, 2025
3 checks passed
@laves laves deleted the windows-arm64 branch January 28, 2025 18:25
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.

2 participants