Skip to content

Commit

Permalink
Merge pull request #58 from dougollerenshaw/fix_broken_icons
Browse files Browse the repository at this point in the history
Fix broken icons
  • Loading branch information
dougollerenshaw authored Oct 17, 2024
2 parents da8b9dc + 4027b21 commit 74c3e08
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions codeaide/ui/chat_window.py
Original file line number Diff line number Diff line change
Expand Up @@ -140,17 +140,17 @@ def __init__(self, chat_handler):
self.is_recording = False

# Load microphone icons
self.green_mic_icon = QIcon(get_resource_path("assets/green_mic.png"))
self.red_mic_icon = QIcon(get_resource_path("assets/red_mic.png"))
self.green_mic_icon = QIcon(get_resource_path("codeaide/assets/green_mic.png"))
self.red_mic_icon = QIcon(get_resource_path("codeaide/assets/red_mic.png"))

self.setup_ui()
self.setup_input_placeholder()
self.update_submit_button_state()

# Initialize Whisper model
print("Loading Whisper model...")
self.logger.info("Loading Whisper model...")
self.whisper_model = whisper.load_model("tiny")
print("Whisper model loaded.")
self.logger.info("Whisper model loaded.")

# Check API key status
if not self.chat_handler.api_key_valid:
Expand Down

0 comments on commit 74c3e08

Please sign in to comment.