Skip to content

Commit

Permalink
Update Quora link and details
Browse files Browse the repository at this point in the history
  • Loading branch information
ChetanXpro committed Jan 25, 2024
1 parent dfd7b48 commit 79963e6
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,8 @@ const generateQuoraShort = async ({

const finalScript = await summarizeShortScript({ script })

if (!finalScript) throw new Error('Script not generated')

// Creating voice for answer
await createAudio({ script: finalScript, language, outputFilePath: answerAudioFilePath })

Expand Down Expand Up @@ -227,11 +229,11 @@ const generateQuoraShort = async ({

generateQuoraShort({
language: 'en-IN',
Quoralink: 'https://qr.ae/pKuKFi',
Quoralink: 'https://qr.ae/pKeRZp',
quoraDetails: {
comment: '320',
upvote: '21.1k',
share: '23',
comment: '7',
upvote: '839',
share: '3',
},
}).then(() => {
process.exit(0)
Expand Down

0 comments on commit 79963e6

Please sign in to comment.