server/www: rename topic text field to transcript

This aleviate the current issue with vercel deployment
This commit is contained in:
2023-11-02 19:54:44 +01:00
committed by Mathieu Virbel
parent 9642d0fd1e
commit eb76cd9bcd
9 changed files with 101 additions and 13 deletions

View File

@@ -121,7 +121,7 @@ class GetTranscriptTopic(BaseModel):
title: str
summary: str
timestamp: float
text: str
transcript: str
segments: list[GetTranscriptSegmentTopic] = []
@classmethod
@@ -154,7 +154,7 @@ class GetTranscriptTopic(BaseModel):
title=topic.title,
summary=topic.summary,
timestamp=topic.timestamp,
text=text,
transcript=text,
segments=segments,
)