Small fixes

This commit is contained in:
Ryan Shpeherd
2026-10-28 09:32:41 -04:00
parent 5e5972c31a
commit 554f20a1e2
5 changed files with 276 additions and 5 deletions
+3
View File
@@ -13,6 +13,9 @@ services:
- OLLAMA_URL=${OLLAMA_URL:-http://10.0.1.7:11434}
- SECONDS_PER_FRAME=${SECONDS_PER_FRAME:-30}
- TASK_COUNT=${TASK_COUNT:-50}
- SENSITIVITY=${SENSITIVITY:-30}
- IMAGE_COUNT=${IMAGE_COUNT:-10}
- MIN_TIME=${MIN_TIME:-5}
volumes:
- nas_input:/data:ro
- ./run.pl:/app/run.pl:ro
+2 -2
View File
@@ -11,7 +11,7 @@ my $api = $ENV{'API_BASE_URL'} || 'http://10.0.1.7:3000';
my $task_count = $ENV{'TASK_COUNT'} || 1;
my $image_count = $ENV{'IMAGE_COUNT'} || 10; # Number of images to extract from the video
my $min_time = $ENV{'MIN_TIME'} || 5; # Minimum time between images
my $sensitivity = 20;
my $sensitivity = $ENV{'SENSITIVITY'} || 30;
my $resolution = "672:672";
#my $model = "hf.co/Jommarn/UNSEEN_Gemma_4_26B_NSFW-GGUF:Q8_0";
my $model = "hf.co/Jommarn/UNSEEN_Gemma_4_26B_NSFW-GGUF:Q5_K_M";
@@ -19,7 +19,7 @@ my $model = "hf.co/Jommarn/UNSEEN_Gemma_4_26B_NSFW-GGUF:Q5_K_M";
chdir("/tmp") || die "Unable to change directory to /tmp: $!\n";
my $ua = LWP::UserAgent->new;
$ua->timeout(60);
$ua->timeout(300);
if(@ARGV) {
CheckPath($ARGV[0], {'duration' => 0});