mirror of
https://github.com/R0m1k3/LiveFlow.git
synced 2026-10-11 17:27:19 +02:00
Fix pause, mobile transcription, and diarization
This commit is contained in:
1 parent
5a9c2a6239
commit
a402fac8fc
1 file changed
+1
-2
+1
-2
@@ -343,8 +343,7 @@ async def export_meeting(meeting_id: int, format: str = "txt"):
|
||||
return f"[{s['speaker']}] {s['text']}" if s.get("speaker") else s["text"]
|
||||
body, mime, ext = "\n".join(_txt_line(s) for s in segs) + "\n", "text/plain", "txt"
|
||||
else:
|
||||
raise HTTPException(400, "Format inconnu (txt, md, srt, json)
|
||||
")
|
||||
raise HTTPException(400, "Format inconnu (txt, md, srt, json)")
|
||||
|
||||
return Response(
|
||||
content=body,
|
||||
|
||||
Reference in new issue
Block a user