Compare commits
No commits in common. "b992303d41253d63a770e47a7e033e2270ca0d72" and "384775dd3651ce33815ac654e8c20b3d2d5deb6c" have entirely different histories.
b992303d41
...
384775dd36
1
.gitignore
vendored
1
.gitignore
vendored
@ -16,4 +16,3 @@
|
|||||||
/app_config.json
|
/app_config.json
|
||||||
/custom_logo
|
/custom_logo
|
||||||
/static/theme.css
|
/static/theme.css
|
||||||
/transcription_folder.yml
|
|
||||||
@ -5,7 +5,6 @@ import whisper
|
|||||||
import concurrent.futures
|
import concurrent.futures
|
||||||
import json
|
import json
|
||||||
import re
|
import re
|
||||||
import yaml
|
|
||||||
|
|
||||||
# model_name = "large-v3"
|
# model_name = "large-v3"
|
||||||
model_name = "medium"
|
model_name = "medium"
|
||||||
@ -14,9 +13,17 @@ model_name = "medium"
|
|||||||
start_time = 0
|
start_time = 0
|
||||||
total_audio_length = 0
|
total_audio_length = 0
|
||||||
|
|
||||||
with open("transcription_folder.yml", "r", encoding="utf-8") as file:
|
folder_list = [
|
||||||
settings = yaml.safe_load(file)
|
# Speyer
|
||||||
folder_list = settings.get("folder_list", [])
|
# "\\\\10.1.0.11\\Aufnahme-stereo\\010 Gottesdienste ARCHIV\\2025",
|
||||||
|
# "\\\\10.1.0.11\\Aufnahme-stereo\\010 Gottesdienste ARCHIV\\2016",
|
||||||
|
# "\\\\10.1.0.11\\Aufnahme-stereo\\010 Gottesdienste ARCHIV\\2015",
|
||||||
|
# "\\\\10.1.0.11\\Aufnahme-stereo\\010 Gottesdienste ARCHIV\\2014",
|
||||||
|
|
||||||
|
# Schwegenheim
|
||||||
|
"\\\\10.1.1.11\\Aufnahme-stereo\\010 Gottesdienste ARCHIV\\2025",
|
||||||
|
"\\\\10.1.1.11\\Aufnahme-stereo\\010 Gottesdienste ARCHIV\\2024"
|
||||||
|
]
|
||||||
|
|
||||||
def format_timestamp(seconds):
|
def format_timestamp(seconds):
|
||||||
"""Format seconds into HH:MM:SS."""
|
"""Format seconds into HH:MM:SS."""
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user