From 82b24cabeb1aa6b3b5d413eb43eea16cd1193cd9 Mon Sep 17 00:00:00 2001 From: Bel LaPointe <153096461+breel-render@users.noreply.github.com> Date: Tue, 19 Dec 2023 22:01:27 -0500 Subject: [PATCH] move all into subdirs --- hotwords.py => hotwords/hotwords.py | 0 requirements.txt => hotwords/requirements.txt | 0 transcript.sh => hotwords/transcript.sh | 0 cargo.sh => rust-whisper-lib/cargo.sh | 0 rust-whisper/cargo.sh | 8 ++++++++ 5 files changed, 8 insertions(+) rename hotwords.py => hotwords/hotwords.py (100%) rename requirements.txt => hotwords/requirements.txt (100%) rename transcript.sh => hotwords/transcript.sh (100%) rename cargo.sh => rust-whisper-lib/cargo.sh (100%) create mode 100644 rust-whisper/cargo.sh diff --git a/hotwords.py b/hotwords/hotwords.py similarity index 100% rename from hotwords.py rename to hotwords/hotwords.py diff --git a/requirements.txt b/hotwords/requirements.txt similarity index 100% rename from requirements.txt rename to hotwords/requirements.txt diff --git a/transcript.sh b/hotwords/transcript.sh similarity index 100% rename from transcript.sh rename to hotwords/transcript.sh diff --git a/cargo.sh b/rust-whisper-lib/cargo.sh similarity index 100% rename from cargo.sh rename to rust-whisper-lib/cargo.sh diff --git a/rust-whisper/cargo.sh b/rust-whisper/cargo.sh new file mode 100644 index 0000000..3bfa077 --- /dev/null +++ b/rust-whisper/cargo.sh @@ -0,0 +1,8 @@ +#! /bin/bash + +#RUSTFLAGS="-Clink-args=-lstd++" \ + +export C_INCLUDE_PATH="$C_INCLUDE_PATH:$PWD/.." +export LIBRARY_PATH="$LIBRARY_PATH:$PWD/.." + +cargo "$@"