File tree Expand file tree Collapse file tree 1 file changed +0
-8
lines changed Expand file tree Collapse file tree 1 file changed +0
-8
lines changed Original file line number Diff line number Diff line change @@ -86,7 +86,6 @@ def transcribe_with_assemblyai(
8686 speaker_labels = True ,
8787 summarization = True ,
8888 sentiment_analysis = True ,
89- auto_highlights = True ,
9089 iab_categories = True ,
9190 )
9291 transcriber = aai .Transcriber ()
@@ -116,13 +115,6 @@ def transcribe_with_assemblyai(
116115 file .write (f"Confidence: { result .confidence } \n " )
117116 file .write (f"Timestamp: { result .start } - { result .end } \n \n " )
118117
119- # Key Phrases
120- with open (f"{ base_name } _key_phrases.txt" , "w" , encoding = "utf-8" ) as file :
121- for phrase in transcript .auto_highlights_result .results :
122- file .write (f"Highlight: { phrase .text } \n " )
123- file .write (f"Count: { phrase .count } \n " )
124- file .write (f"Rank: { phrase .rank } \n " )
125-
126118 # Topic Detection
127119 if transcript .iab_categories :
128120 with open (f"{ base_name } _topics.txt" , "w" , encoding = "utf-8" ) as file :
You can’t perform that action at this time.
0 commit comments