From c5f8e3a21acb5534a4560be33f0c82be02f81e22 Mon Sep 17 00:00:00 2001 From: Brad Ganley Date: Thu, 27 Apr 2023 14:06:57 -0500 Subject: [PATCH] f --- transcribe.sh | 65 ++++++++++++++++++++++++--------------------------- 1 file changed, 31 insertions(+), 34 deletions(-) diff --git a/transcribe.sh b/transcribe.sh index b2b26e7..6c3c8bc 100755 --- a/transcribe.sh +++ b/transcribe.sh @@ -1,40 +1,37 @@ -#!/usr/bin/env python -import openai -import sys -import os -import datetime +#!/bin/bash -openai.api_key = os.getenv("OPENAI_API_KEY") +# Check if an argument was passed +if [ $# -eq 0 ] +then + echo "Usage: $0