From d6477298fad81db0aa065debf0c07afe88245819 Mon Sep 17 00:00:00 2001 From: sanj <67624670+iodrift@users.noreply.github.com> Date: Tue, 30 Jul 2024 19:43:50 -0700 Subject: [PATCH] Auto-update: Tue Jul 30 19:43:50 PDT 2024 --- asr copy | 22 ---------------------- txt-line-merge-abc | 1 + 2 files changed, 1 insertion(+), 22 deletions(-) delete mode 100755 asr copy mode change 100755 => 100644 txt-line-merge-abc diff --git a/asr copy b/asr copy deleted file mode 100755 index 3d922d7..0000000 --- a/asr copy +++ /dev/null @@ -1,22 +0,0 @@ -#!/bin/bash - -# Check if a filename is provided -if [ "$#" -ne 1 ]; then - echo "Usage: $0 filename" - exit 1 -fi - -# Assign the first argument to FILENAME -FILENAME="$1" - -# Check if the file exists -if [ ! -f "$FILENAME" ]; then - echo "Error: File not found - $FILENAME" - exit 1 -fi - -# Perform the curl POST request with the file -curl -X POST http://127.0.0.1:3456/v1/asr \ --H 'Authorization: bearer sk-NhrtQwCHNdK5sRZC' \ --F "file=@$FILENAME" - diff --git a/txt-line-merge-abc b/txt-line-merge-abc old mode 100755 new mode 100644 index bebdab2..d6487ea --- a/txt-line-merge-abc +++ b/txt-line-merge-abc @@ -34,3 +34,4 @@ if __name__ == "__main__": else: merge_files(file_paths) +