final touch
Browse files
front/src/components/PodcastGenerator.tsx
CHANGED
@@ -28,7 +28,7 @@ const SPEEDS = [
|
|
28 |
const SPEAKERS = [
|
29 |
{ name: '๐บ๐ธ ๐บ Heart โค๏ธ', value: 'af_heart' },
|
30 |
{ name: '๐บ๐ธ ๐บ Bella ๐ฅ', value: 'af_bella' },
|
31 |
-
{ name: '๐บ๐ธ ๐บ Nicole ๐ง', value: 'af_nicole' },
|
32 |
{ name: '๐บ๐ธ ๐บ Aoede', value: 'af_aoede' },
|
33 |
{ name: '๐บ๐ธ ๐บ Kore', value: 'af_kore' },
|
34 |
{ name: '๐บ๐ธ ๐บ Sarah', value: 'af_sarah' },
|
|
|
28 |
const SPEAKERS = [
|
29 |
{ name: '๐บ๐ธ ๐บ Heart โค๏ธ', value: 'af_heart' },
|
30 |
{ name: '๐บ๐ธ ๐บ Bella ๐ฅ', value: 'af_bella' },
|
31 |
+
// { name: '๐บ๐ธ ๐บ Nicole ๐ง', value: 'af_nicole' },
|
32 |
{ name: '๐บ๐ธ ๐บ Aoede', value: 'af_aoede' },
|
33 |
{ name: '๐บ๐ธ ๐บ Kore', value: 'af_kore' },
|
34 |
{ name: '๐บ๐ธ ๐บ Sarah', value: 'af_sarah' },
|
front/src/components/ScriptMaker.tsx
CHANGED
@@ -196,7 +196,7 @@ export const ScriptMaker = ({
|
|
196 |
<button
|
197 |
className="btn btn-primary mt-2"
|
198 |
onClick={generate}
|
199 |
-
disabled={isGenerating || busy}
|
200 |
>
|
201 |
{isGenerating ? (
|
202 |
<>
|
@@ -208,7 +208,7 @@ export const ScriptMaker = ({
|
|
208 |
)}
|
209 |
</button>
|
210 |
|
211 |
-
<div role="alert" className="alert text-sm">
|
212 |
<svg
|
213 |
xmlns="http://www.w3.org/2000/svg"
|
214 |
fill="none"
|
@@ -227,7 +227,7 @@ export const ScriptMaker = ({
|
|
227 |
re-generate the script or adding a note to force it to follow YAML
|
228 |
format.
|
229 |
</span>
|
230 |
-
</div>
|
231 |
</div>
|
232 |
</div>
|
233 |
);
|
|
|
196 |
<button
|
197 |
className="btn btn-primary mt-2"
|
198 |
onClick={generate}
|
199 |
+
disabled={isGenerating || busy || input.length < 10}
|
200 |
>
|
201 |
{isGenerating ? (
|
202 |
<>
|
|
|
208 |
)}
|
209 |
</button>
|
210 |
|
211 |
+
{/* <div role="alert" className="alert text-sm">
|
212 |
<svg
|
213 |
xmlns="http://www.w3.org/2000/svg"
|
214 |
fill="none"
|
|
|
227 |
re-generate the script or adding a note to force it to follow YAML
|
228 |
format.
|
229 |
</span>
|
230 |
+
</div> */}
|
231 |
</div>
|
232 |
</div>
|
233 |
);
|
index.html
CHANGED
@@ -20920,7 +20920,7 @@ const SPEEDS = [
|
|
20920 |
const SPEAKERS = [
|
20921 |
{ name: "๐บ๐ธ ๐บ Heart โค๏ธ", value: "af_heart" },
|
20922 |
{ name: "๐บ๐ธ ๐บ Bella ๐ฅ", value: "af_bella" },
|
20923 |
-
{ name:
|
20924 |
{ name: "๐บ๐ธ ๐บ Aoede", value: "af_aoede" },
|
20925 |
{ name: "๐บ๐ธ ๐บ Kore", value: "af_kore" },
|
20926 |
{ name: "๐บ๐ธ ๐บ Sarah", value: "af_sarah" },
|
@@ -22680,34 +22680,13 @@ const ScriptMaker = ({
|
|
22680 |
{
|
22681 |
className: "btn btn-primary mt-2",
|
22682 |
onClick: generate,
|
22683 |
-
disabled: isGenerating || busy,
|
22684 |
children: isGenerating ? /* @__PURE__ */ jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment, { children: [
|
22685 |
/* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: "loading loading-spinner loading-sm" }),
|
22686 |
"Generating..."
|
22687 |
] }) : "Generate script"
|
22688 |
}
|
22689 |
-
)
|
22690 |
-
/* @__PURE__ */ jsxRuntimeExports.jsxs("div", { role: "alert", className: "alert text-sm", children: [
|
22691 |
-
/* @__PURE__ */ jsxRuntimeExports.jsx(
|
22692 |
-
"svg",
|
22693 |
-
{
|
22694 |
-
xmlns: "http://www.w3.org/2000/svg",
|
22695 |
-
fill: "none",
|
22696 |
-
viewBox: "0 0 24 24",
|
22697 |
-
className: "stroke-info h-6 w-6 shrink-0",
|
22698 |
-
children: /* @__PURE__ */ jsxRuntimeExports.jsx(
|
22699 |
-
"path",
|
22700 |
-
{
|
22701 |
-
strokeLinecap: "round",
|
22702 |
-
strokeLinejoin: "round",
|
22703 |
-
strokeWidth: "2",
|
22704 |
-
d: "M13 16h-1v-4h-1m1-4h.01M21 12a9 9 0 11-18 0 9 9 0 0118 0z"
|
22705 |
-
}
|
22706 |
-
)
|
22707 |
-
}
|
22708 |
-
),
|
22709 |
-
/* @__PURE__ */ jsxRuntimeExports.jsx("span", { children: "The LLM may generate an incorrect YAML. If it fails on Step 2, re-generate the script or adding a note to force it to follow YAML format." })
|
22710 |
-
] })
|
22711 |
] }) });
|
22712 |
};
|
22713 |
var __defProp2 = Object.defineProperty;
|
|
|
20920 |
const SPEAKERS = [
|
20921 |
{ name: "๐บ๐ธ ๐บ Heart โค๏ธ", value: "af_heart" },
|
20922 |
{ name: "๐บ๐ธ ๐บ Bella ๐ฅ", value: "af_bella" },
|
20923 |
+
// { name: '๐บ๐ธ ๐บ Nicole ๐ง', value: 'af_nicole' },
|
20924 |
{ name: "๐บ๐ธ ๐บ Aoede", value: "af_aoede" },
|
20925 |
{ name: "๐บ๐ธ ๐บ Kore", value: "af_kore" },
|
20926 |
{ name: "๐บ๐ธ ๐บ Sarah", value: "af_sarah" },
|
|
|
22680 |
{
|
22681 |
className: "btn btn-primary mt-2",
|
22682 |
onClick: generate,
|
22683 |
+
disabled: isGenerating || busy || input.length < 10,
|
22684 |
children: isGenerating ? /* @__PURE__ */ jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment, { children: [
|
22685 |
/* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: "loading loading-spinner loading-sm" }),
|
22686 |
"Generating..."
|
22687 |
] }) : "Generate script"
|
22688 |
}
|
22689 |
+
)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
22690 |
] }) });
|
22691 |
};
|
22692 |
var __defProp2 = Object.defineProperty;
|