mirror of
https://github.com/FAUSheppy/ths-speech
synced 2025-12-09 14:18:33 +01:00
fixes for samba
This commit is contained in:
@@ -4,6 +4,7 @@ import os.path
|
||||
import filesystem
|
||||
import log
|
||||
import transcribe_async
|
||||
import os
|
||||
|
||||
USE_FREE=False
|
||||
USE_PAID=True
|
||||
@@ -15,6 +16,7 @@ def async_create_transcript(filename):
|
||||
def create_and_save_transcript(filename):
|
||||
transcript = analyse(filename)
|
||||
filesystem.save_transcript(filename, transcript)
|
||||
os.system("../permissions.sh")
|
||||
|
||||
def analyse(filename):
|
||||
''' returns the transcripted audio, or None if the analysis fails '''
|
||||
|
||||
Reference in New Issue
Block a user