Skip to content

Commit

Permalink
Merge pull request #106 from prateekvellala/master
Browse files Browse the repository at this point in the history
removed unnecessary imports
  • Loading branch information
KoljaB authored Nov 15, 2024
2 parents d2fe7cf + 691b072 commit 0c8db45
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 7 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

0 comments on commit 0c8db45

Please sign in to comment.