diff --git a/src/tts.tsx b/src/tts.tsx
index 6848507..903c96c 100644
--- a/src/tts.tsx
+++ b/src/tts.tsx
@@ -4,6 +4,8 @@ import { useMemo, useState } from "preact/hooks";
import { addTotalCost } from "@/utils/totalCost";
import { ChatStore, ChatStoreMessage } from "@/types/chatstore";
import { Message, getMessageText } from "@/chatgpt";
+import { AudioLinesIcon, LoaderCircleIcon } from "lucide-react";
+import { Button } from "./components/ui/button";
interface TTSProps {
chatStore: ChatStore;
@@ -25,14 +27,16 @@ export function TTSPlay(props: TTSPlayProps) {
return <>>;
}
if (props.chat.audio instanceof Blob) {
- return ;
+ return ;
}
return <>>;
}
export default function TTSButton(props: TTSProps) {
const [generating, setGenerating] = useState(false);
return (
-
+
);
}