Compare commits
No commits in common. "90cc2ba2b6c502fbffa2a43b1f3f42fc35edabfd" and "02ec3e055e076c2dbec52be62217138fa156ea5d" have entirely different histories.
90cc2ba2b6
...
02ec3e055e
1
.gitignore
vendored
1
.gitignore
vendored
@ -1,4 +1,3 @@
|
|||||||
.env
|
.env
|
||||||
*.swp
|
*.swp
|
||||||
curl.sh
|
curl.sh
|
||||||
.vscode
|
|
||||||
|
@ -1,4 +0,0 @@
|
|||||||
#!/bin/bash
|
|
||||||
#$PG -t -A -c "SELECT '## 2023-03-31' UNION ALL SELECT ' - ' ||(message->>'text') from rlarp.thirtysec where mdate >= '2023-03-31'" | fold -s -w 80 | sed -E 's/^([^ -])/ \1/;s/^(-{1,2} )/ \1/;s/^/ /'
|
|
||||||
|
|
||||||
$PG -t -A -c "SELECT '## 2023-04-06' UNION ALL SELECT '- ' ||mdate||' [[]] '||(message->>'text') from rlarp.thirtysec where mdate >= '2023-04-06'" >> /mnt/c/Users/PTrowbridge/hc_notes/30sec.md
|
|
@ -56,7 +56,6 @@ for file_name in os.listdir(args.dir_path):
|
|||||||
continue
|
continue
|
||||||
|
|
||||||
# Send the transcription request and retrieve the results
|
# Send the transcription request and retrieve the results
|
||||||
print(f"to be processed {file_path}")
|
|
||||||
audio_file = open(file_path, 'rb')
|
audio_file = open(file_path, 'rb')
|
||||||
response = requests.post(url, headers=headers, params=params, data=data, files={'file': audio_file})
|
response = requests.post(url, headers=headers, params=params, data=data, files={'file': audio_file})
|
||||||
transcript = response.text
|
transcript = response.text
|
||||||
|
Loading…
Reference in New Issue
Block a user