Checkout: transfer to different machine
This commit is contained in:
@@ -52,11 +52,13 @@ Jobs specify tasks for transcript creation. A job contains the following informa
|
||||
- seperate data production form code
|
||||
- remember to accept the conditions on diarization if you use huggingface
|
||||
- do a config json
|
||||
- do option to have models already stored and point to them (is this necessary?)
|
||||
- do option to have models already stored and point to them (is this necessary? > if you do not want to interact with
|
||||
huggingface yes)
|
||||
- also for single language models
|
||||
- check warnings
|
||||
- downloader for tib-av
|
||||
- more optional setting
|
||||
- add progress bar
|
||||
|
||||
## Structure
|
||||
|
||||
|
||||
+1
-1
@@ -80,7 +80,7 @@ class Transcriber:
|
||||
json.dump(self.transcript_output, f)
|
||||
|
||||
# Save just the transcripts to a .txt file
|
||||
transcripts = [seg['value'] for seg in self.transcript_output['segments']]
|
||||
transcripts = [seg['text'] for seg in self.transcript_output['segments']]
|
||||
with open(output_txt_file, 'w') as f:
|
||||
f.write('\n'.join(transcripts))
|
||||
except Exception as e:
|
||||
|
||||
Reference in New Issue
Block a user