Skip to content

Commit

Permalink
Use wyoming-porcupine1 package
Browse files Browse the repository at this point in the history
  • Loading branch information
synesthesiam committed Oct 23, 2023
1 parent a292c22 commit aea9c7f
Show file tree
Hide file tree
Showing 71 changed files with 14 additions and 249 deletions.
10 changes: 10 additions & 0 deletions porcupine1/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# Changelog

## 1.0.1

- Use wyoming-porcupine1 package
- Try to fix memory leak by caching detectors

## 1.0.0

- Initial release
6 changes: 2 additions & 4 deletions porcupine1/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,9 @@ ARG TARGETVARIANT

# Install porcupine1
WORKDIR /usr/src
ENV WYOMING_PORCUPINE1_VERSION=1.0.1
ENV PIP_BREAK_SYSTEM_PACKAGES=1

COPY ./src/ ./

RUN \
apt-get update \
&& apt-get install -y --no-install-recommends \
Expand All @@ -19,8 +18,7 @@ RUN \
wheel \
&& pip3 install --no-cache-dir \
--extra-index-url https://www.piwheels.org/simple \
'numpy<1.26' \
-r requirements.txt \
"wyoming-porcupine1==${WYOMING_PORCUPINE1_VERSION}" \
\
&& rm -rf /var/lib/apt/lists/*

Expand Down
2 changes: 1 addition & 1 deletion porcupine1/Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
.PHONY: local run update

VERSION := 1.0.0
VERSION := 1.0.1
TAG := rhasspy/wyoming-porcupine1
PLATFORMS := linux/amd64,linux/arm64,linux/arm/v7
HOST := 0.0.0.0
Expand Down
2 changes: 1 addition & 1 deletion porcupine1/run.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
#!/usr/bin/env bash
python3 /usr/src/server.py \
python3 -m wyoming_porcupine1 \
--uri 'tcp://0.0.0.0:10400' "$@"
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
2 changes: 0 additions & 2 deletions porcupine1/src/requirements.txt

This file was deleted.

241 changes: 0 additions & 241 deletions porcupine1/src/server.py

This file was deleted.

0 comments on commit aea9c7f

Please sign in to comment.