Skip to content

Commit

Permalink
remove google search option
Browse files Browse the repository at this point in the history
  • Loading branch information
noahgsolomon committed Aug 29, 2024
1 parent 06cdbbc commit 627ef51
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
3 changes: 2 additions & 1 deletion src/app/api/create/route.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,8 @@ async function insertRecordToDB(body: any) {
? "GTA"
: "TRUCK",
fps: body.fps ?? 20,
aiGeneratedImages: body.aiGeneratedImages,
aiGeneratedImages: true,
// body.aiGeneratedImages,
cleanSrt: false,
credits: body.credits,
status: "Waiting in Queue",
Expand Down
3 changes: 2 additions & 1 deletion src/app/createvideo.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ export default function CreateVideo({
const [fps, setFps] = useState<number | null>(null);
const [recommendedSelect, setRecommendedSelect] = useState(-1);
const [duration, setDuration] = useState<number | null>(null);
const [assetType, setAssetType] = useState<"AI" | "GOOGLE" | null>(null);
const [assetType, setAssetType] = useState<"AI" | "GOOGLE" | null>("AI");
const [credits, setCredits] = useState(10);

const [generating, setGenerating] = useState(false);
Expand Down Expand Up @@ -961,6 +961,7 @@ export default function CreateVideo({
</Button>
|
<Button
disabled
onClick={() => setAssetType("GOOGLE")}
size={"sm"}
variant={
Expand Down
2 changes: 1 addition & 1 deletion src/app/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,7 @@ export default function Home({
BRAINROT.JS
</h1>
<p className="flex w-full flex-row items-center justify-center gap-1 p-2 text-base font-normal italic">
<NumberTicker value={7543} /> videos generated 💀
<NumberTicker value={9221} /> videos generated 💀
</p>
</div>

Expand Down

0 comments on commit 627ef51

Please sign in to comment.