hotfix/server: correctly load old topic

This commit is contained in:
2023-11-02 20:08:21 +01:00
parent eb76cd9bcd
commit aee959369f

View File

@@ -129,7 +129,7 @@ class GetTranscriptTopic(BaseModel):
if not topic.words: if not topic.words:
# In previous version, words were missing # In previous version, words were missing
# Just output a segment with speaker 0 # Just output a segment with speaker 0
text = topic.text text = topic.transcript
segments = [ segments = [
GetTranscriptSegmentTopic( GetTranscriptSegmentTopic(
text=topic.text, text=topic.text,