Skip to content

Commit

Permalink
remove old scripts
Browse files Browse the repository at this point in the history
change concurrency default and cmd name
  • Loading branch information
Chris Kennedy committed Mar 23, 2024
1 parent 498ece0 commit 2be117a
Show file tree
Hide file tree
Showing 12 changed files with 8 additions and 127 deletions.
8 changes: 0 additions & 8 deletions scripts/ai_witch_story.sh

This file was deleted.

58 changes: 0 additions & 58 deletions scripts/alice.sh

This file was deleted.

1 change: 0 additions & 1 deletion scripts/mpeg_analyzer.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ sudo DYLD_LIBRARY_PATH=`pwd`:/usr/local/lib:$DYLD_LIBRARY_PATH target/release/rs
--daemon \
--system-prompt "You are an expert MpegTS Analyzer that can decode and decipher hex packets and general statistics of MpegTS. You report the status and health of the stream, alerting when anything is wrong. Do not make up stats, only use what you can verifiably see in the context." \
--query "Analyze the timeline shown in the historical context of mpeg packets information and if present the raw hexdumps too. Give a report of NAL information and general errors or any bad timing, IAT issues, or other tr101290 type errors. Look for captions and scte35 packets and report on them, and any other SEI messages you see in the packets. Output in an interface looking set of values summarized from the data relevant to the current issues you see in the stream. Do not make up information, only report based off of the data in the context history." \
--use-api \
--pcap-stats \
--ai-network-stats \
--ai-network-hexdump $@
Expand Down
11 changes: 0 additions & 11 deletions scripts/mpeg_analyzer_gpt3.5.sh

This file was deleted.

12 changes: 0 additions & 12 deletions scripts/rainbow_story_images.sh

This file was deleted.

12 changes: 0 additions & 12 deletions scripts/screenplay.sh

This file was deleted.

8 changes: 0 additions & 8 deletions scripts/story_teller.sh

This file was deleted.

File renamed without changes.
9 changes: 0 additions & 9 deletions scripts/system_health_gpt3.5.sh

This file was deleted.

8 changes: 4 additions & 4 deletions scripts/twitch.sh
Original file line number Diff line number Diff line change
Expand Up @@ -28,17 +28,17 @@ QUANTIZED=0
GREETING="Hi I'm Alice, ask me a question!"
TWITCH_CHAT_HISTORY=8
TWITCH_MODEL=mistral
SINGLE_CONCURRENCY=1
ASYNC_CONCURRENCY=0
# === END OF CONFIGURATION ===
#
#
SUBTITLE_CMD=
DAEMON_CMD=
NO_HISTORY_CMD=
QUANTIZED_CMD=
SINGLE_CONCURRENCY_CMD=
if [ "$SINGLE_CONCURRENCY" == 1 ]; then
SINGLE_CONCURRENCY_CMD="--single-concurrency"
ASYNC_CONCURRENCY_CMD=
if [ "$ASYNC_CONCURRENCY" == 1 ]; then
ASYNC_CONCURRENCY_CMD="--async-concurrency"
fi
if [ "$SUBTITLES" == 1 ]; then
SUBTITLE_CMD="--subtitles"
Expand Down
6 changes: 3 additions & 3 deletions src/args.rs
Original file line number Diff line number Diff line change
Expand Up @@ -716,9 +716,9 @@ pub struct Args {
/// single concurrency - bool single concurrency for all models, wait between each request
#[clap(
long,
env = "SINGLE_CONCURRENCY",
env = "ASYNC_CONCURRENCY",
default_value_t = false,
help = "single concurrency - bool single concurrency for all models, wait between each request."
help = "async concurrency - bool async concurrency for all models, don't wait for NDI between each request. (unstable)"
)]
pub single_concurrency: bool,
pub async_concurrency: bool,
}
2 changes: 1 addition & 1 deletion src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1410,7 +1410,7 @@ async fn main() {
}

#[cfg(feature = "ndi")]
if args.single_concurrency
if !args.async_concurrency
&& (args.sd_image || args.tts_enable || args.oai_tts || args.mimic3_tts)
{
// Wait for the NDI done signal
Expand Down

0 comments on commit 2be117a

Please sign in to comment.