Skip to content

Commit

Permalink
removed unnecessary imports
Browse files Browse the repository at this point in the history
  • Loading branch information
prateekvellala committed Aug 24, 2024
1 parent d02be1f commit b52be1a
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 8 deletions.
6 changes: 3 additions & 3 deletions example_app/ui_openai_voice_interface.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
from RealtimeTTS import TextToAudioStream, AzureEngine, ElevenlabsEngine, SystemEngine
from RealtimeSTT import AudioToTextRecorder

from PyQt5.QtCore import Qt, QTimer, QRect, QEvent, pyqtSignal, QThread, QPoint, QPropertyAnimation, QVariantAnimation
from PyQt5.QtGui import QPalette, QColor, QPainter, QFontMetrics, QFont, QMouseEvent, QContextMenuEvent
from PyQt5.QtWidgets import QApplication, QLabel, QWidget, QDesktopWidget, QMenu, QAction
from PyQt5.QtCore import Qt, QTimer, QEvent, pyqtSignal, QThread
from PyQt5.QtGui import QColor, QPainter, QFontMetrics, QFont, QMouseEvent
from PyQt5.QtWidgets import QApplication, QWidget, QDesktopWidget, QMenu, QAction

import os
import openai
Expand Down
2 changes: 1 addition & 1 deletion example_webserver/client.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from colorama import Fore, Back, Style
from colorama import Fore, Style
import websockets
import colorama
import keyboard
Expand Down
2 changes: 1 addition & 1 deletion example_webserver/server.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
print ("└─ ... ", end='', flush=True)

from RealtimeSTT import AudioToTextRecorder
from colorama import Fore, Back, Style
from colorama import Fore, Style
import websockets
import threading
import colorama
Expand Down
1 change: 0 additions & 1 deletion tests/openwakeword_test.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
if __name__ == '__main__':
print("Starting...")
from RealtimeSTT import AudioToTextRecorder
import logging

detected = False

Expand Down
2 changes: 1 addition & 1 deletion tests/realtimestt_chinese.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
from RealtimeSTT import AudioToTextRecorder
from colorama import Fore, Back, Style
from colorama import Fore, Style
import colorama
import os

Expand Down
2 changes: 1 addition & 1 deletion tests/realtimestt_test.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
from RealtimeSTT import AudioToTextRecorder
from colorama import Fore, Back, Style
from colorama import Fore, Style
import colorama
import os

Expand Down

0 comments on commit b52be1a

Please sign in to comment.