+ {/* Transcription from web speech api */}
+
+
+
+ setTranscriptionSettings((prev) => {
+ return { ...prev, language };
+ })
+ }
+ />
+
+ {/* record button */}
+ {/*
*/}
- {/* copy to clipboard button */}
-
-
-
+ {/* copy to clipboard button */}
+
+
+
- {aiCapabilities.available === "no" && (
-
-
-
AI Summarization is not available
-
- AI Summarization is not available. Please make sure your chrome
- supports Prompt API.
-
-
-
- )}
- {aiCapabilities.available !== "no" && (
-
- setTranscriptionSettings((prev) => {
- return { ...prev, language: language };
- })
- }
- language={transcriptionSettings.language}
- isSummaryLoading={isSummaryLoading}
- handleSummarize={handleSummarize}
- summary={summary}
- />
- )}
-