diff --git a/app/components/dashboard.js b/app/components/dashboard.js index d8dd0aa3..425c63ea 100644 --- a/app/components/dashboard.js +++ b/app/components/dashboard.js @@ -141,7 +141,7 @@ export function Dashboard(props) { {generateDecibelGraph(generateDecibelData())} -
{liveTranscript}
+
{props.transcriptionText}
diff --git a/app/globals.css b/app/globals.css index d45723bd..a4532f27 100644 --- a/app/globals.css +++ b/app/globals.css @@ -27,3 +27,9 @@ body { font-family: "Roboto", sans-serif; } + +.temp-transcription +{ + background: beige; + border-radius: 5px; +} diff --git a/app/page.js b/app/page.js index 0b837da3..393b8fd2 100644 --- a/app/page.js +++ b/app/page.js @@ -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 (
@@ -20,7 +21,10 @@ const App = () => {
- +