Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 572587bb85 | |||
| cfc38b21ed |
+2
-2
@@ -46,7 +46,7 @@
|
|||||||
}}
|
}}
|
||||||
|
|
||||||
.logo {{
|
.logo {{
|
||||||
height: 80px;
|
height: 20px;
|
||||||
width: auto;
|
width: auto;
|
||||||
display: block;
|
display: block;
|
||||||
}}
|
}}
|
||||||
@@ -93,7 +93,7 @@
|
|||||||
}}
|
}}
|
||||||
|
|
||||||
.logo {{
|
.logo {{
|
||||||
height: 60px;
|
height: 16px;
|
||||||
}}
|
}}
|
||||||
|
|
||||||
.header-description {{
|
.header-description {{
|
||||||
|
|||||||
+7
-7
@@ -307,13 +307,13 @@ def process_transcription_task(
|
|||||||
prompt = (
|
prompt = (
|
||||||
"Below is a transcript with speaker labels like 'SPEAKER 1', 'SPEAKER 2', etc. "
|
"Below is a transcript with speaker labels like 'SPEAKER 1', 'SPEAKER 2', etc. "
|
||||||
"Based on how they speak and the context, suggest realistic names for each speaker. "
|
"Based on how they speak and the context, suggest realistic names for each speaker. "
|
||||||
"Do not add extra commentary. Output ONLY a mapping in this exact format, one per line:
|
"Do not add extra commentary. Output ONLY a mapping in this exact format, one per line:\n"
|
||||||
SPEAKER 1: Suggested Name
|
"SPEAKER 1: Suggested Name\n"
|
||||||
SPEAKER 2: Suggested Name
|
"SPEAKER 2: Suggested Name\n"
|
||||||
SPEAKER 3: Suggested Name
|
"SPEAKER 3: Suggested Name\n"
|
||||||
|
"\n"
|
||||||
Transcript:
|
"Transcript:\n"
|
||||||
" + transcript_text
|
+ transcript_text
|
||||||
)
|
)
|
||||||
|
|
||||||
response = summarizer._chat_completion(
|
response = summarizer._chat_completion(
|
||||||
|
|||||||
Reference in New Issue
Block a user