Skip to content

Commit

Permalink
neets
Browse files Browse the repository at this point in the history
  • Loading branch information
noahgsolomon committed Oct 29, 2024
1 parent adbe831 commit dbbead3
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 6 deletions.
18 changes: 15 additions & 3 deletions generate/eleven.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,18 @@ export async function generateTranscriptAudio(

const initialAgentName = audios[0].person;

// const contextContent = `
// import { staticFile } from 'remotion';

// export const music: string = ${
// music === 'NONE' ? `'NONE'` : `'/music/${music}.MP3'`
// };
// export const fps = ${fps};
// export const initialAgentName = '${initialAgentName}';
// export const videoFileName = '/background/${background}-' + ${Math.floor(
// Math.random() * 10
// )} + '.mp4';

const contextContent = `
import { staticFile } from 'remotion';
Expand All @@ -103,9 +115,9 @@ export const music: string = ${
};
export const fps = ${fps};
export const initialAgentName = '${initialAgentName}';
export const videoFileName = '/background/${background}-' + ${Math.floor(
Math.random() * 10
)} + '.mp4';
export const videoFileName = '/background/MINECRAFT-0.mp4';
export const subtitlesFileName = [
${audios
.map(
Expand Down
7 changes: 4 additions & 3 deletions generate/localBuild.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -51,13 +51,14 @@ async function main() {
const agentB = agents[1];

// CHANGE THIS VALUE FOR A CUSTOM VIDEO TOPIC
const videoTopic = 'Proximal Policy Optimization';
const videoTopic =
'Jordan Peterson is being eaten by a bear and joe rogan is trying to kiss the bear';
const aiGeneratedImages = true;
const fps = 15;
const fps = 60;
const duration = 1; //minute
//MINECRAFT or TRUCK or GTA
const background = 'TRUCK';
const music = 'NONE';
const music = 'WII_SHOP_CHANNEL_TRAP';
const cleanSrt = true;

await transcribeFunction(
Expand Down

0 comments on commit dbbead3

Please sign in to comment.