update
This commit is contained in:
parent
01aecb888e
commit
90cc2ba2b6
1
.gitignore
vendored
1
.gitignore
vendored
@ -1,3 +1,4 @@
|
||||
.env
|
||||
*.swp
|
||||
curl.sh
|
||||
.vscode
|
||||
|
@ -56,6 +56,7 @@ for file_name in os.listdir(args.dir_path):
|
||||
continue
|
||||
|
||||
# Send the transcription request and retrieve the results
|
||||
print(f"to be processed {file_path}")
|
||||
audio_file = open(file_path, 'rb')
|
||||
response = requests.post(url, headers=headers, params=params, data=data, files={'file': audio_file})
|
||||
transcript = response.text
|
||||
|
Loading…
Reference in New Issue
Block a user