Skip to content

Commit 93f635b

Browse files
committed
Changed tests, remove acknowledge requirement
1 parent fc97ef6 commit 93f635b

File tree

2 files changed

+20
-10
lines changed

2 files changed

+20
-10
lines changed

.github/workflows/test.yml

+17-9
Original file line numberDiff line numberDiff line change
@@ -46,15 +46,23 @@ jobs:
4646
poetry update
4747
poetry install
4848
49-
# # Install Portaudio on Ubuntu
50-
# - name: Installing Portaudio in Ubuntu
51-
# if: matrix.os == 'ubuntu-latest'
52-
# run: sudo apt-get install portaudio19-dev python-all-dev
53-
54-
# # Install Portaudio on macOS using Homebrew
55-
# - name: Installing Portaudio in Mac
56-
# if: matrix.os == 'macos-latest'
57-
# run: brew install portaudio
49+
# Install ffmpeg on Ubuntu
50+
- name: Installing ffmpeg in Ubuntu
51+
if: matrix.os == 'ubuntu-latest'
52+
run: sudo apt-get install ffmpeg
53+
54+
# Install ffmpeg on macOS using Homebrew
55+
- name: Installing ffmpeg in Mac
56+
if: matrix.os == 'macos-latest'
57+
run: brew install ffmpeg
58+
59+
# Install choco and then ffmpeg on Windows
60+
- name: Installing choco and ffmpeg in Windows
61+
if: matrix.os == 'windows-latest'
62+
run: |
63+
Set-ExecutionPolicy Bypass -Scope Process -Force
64+
iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))
65+
choco install ffmpeg
5866
5967
# Run pytest
6068
- name: Run Pytest

software/source/server/async_server.py

+3-1
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@
77
import wave
88
import os
99

10+
os.environ["INTERPRETER_REQUIRE_ACKNOWLEDGE"] = "False"
11+
1012
def start_server(server_host, server_port, profile, debug, play_audio):
1113

1214
# Load the profile module from the provided path
@@ -64,7 +66,7 @@ async def new_input(self, chunk):
6466
self.stt.stop()
6567
content = self.stt.text()
6668

67-
print("User: ", content)
69+
print("\n\nUser: ", content)
6870

6971
if False:
7072
audio_bytes = bytearray(b"".join(self.audio_chunks))

0 commit comments

Comments
 (0)