Skip to content

Commit

Permalink
Merge pull request #56 from dougollerenshaw/modify_icon_paths
Browse files Browse the repository at this point in the history
Modify how we deal with paths for icons
  • Loading branch information
dougollerenshaw authored Oct 15, 2024
2 parents 82a4b73 + e63b79c commit f6ca0a3
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions codeaide/ui/chat_window.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@
from scipy.io import wavfile
import whisper
import tempfile
from codeaide.utils.general_utils import get_resource_path


class AudioRecorder(QThread):
Expand Down Expand Up @@ -139,12 +140,8 @@ def __init__(self, chat_handler):
self.is_recording = False

# Load microphone icons
self.green_mic_icon = QIcon(
general_utils.get_resource_path("codeaide/assets/green_mic.png")
)
self.red_mic_icon = QIcon(
general_utils.get_resource_path("codeaide/assets/red_mic.png")
)
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.setup_ui()
self.setup_input_placeholder()
Expand Down

0 comments on commit f6ca0a3

Please sign in to comment.