Merge remote-tracking branch 'origin' into jose/vertical-waveform

This commit is contained in:
Jose B
2023-07-19 14:52:25 -05:00
3 changed files with 12 additions and 2 deletions

View File

@@ -11,6 +11,7 @@ const App = () => {
// This is where you'd send the stream and receive the data from the server.
// transcription, summary, etc
const serverData = useWebRTC(stream);
const text = serverData?.text ?? "";
return (
<div className="flex flex-col items-center h-[100svh]">
@@ -20,7 +21,10 @@ const App = () => {
</div>
<Recorder setStream={setStream}/>
<Dashboard serverData={serverData} />
<Dashboard
serverData={serverData}
transcriptionText={`[${serverData?.timestamp?.substring(2) ?? "??"}] ${text}`}
/>
<footer className="w-full bg-gray-800 text-center py-4 mt-auto text-white">
Reflector © 2023 Monadical