jbilcke-hf HF staff commited on
Commit
a5053d8
·
1 Parent(s): a553079
Files changed (1) hide show
  1. src/index.ts +4 -2
src/index.ts CHANGED
@@ -69,13 +69,15 @@ app.post("/", async (req, res) => {
69
  let fileData = Buffer.concat(data)
70
 
71
  const clap: ClapProject = await parseClap(new Blob([fileData]));
72
- console.log("got a clap project:", clap)
 
 
73
 
74
  const {
75
  tmpWorkDir,
76
  outputFilePath,
77
  } = await clapToTmpVideoFilePath({ clap, format })
78
- console.log(`got an output ${format} file at:`, outputFilePath)
79
 
80
  res.download(outputFilePath, async () => {
81
  // clean-up after ourselves (we clear the whole tmp directory)
 
69
  let fileData = Buffer.concat(data)
70
 
71
  const clap: ClapProject = await parseClap(new Blob([fileData]));
72
+
73
+ // not! that is too large!!!
74
+ // console.log("got a clap project:", clap)
75
 
76
  const {
77
  tmpWorkDir,
78
  outputFilePath,
79
  } = await clapToTmpVideoFilePath({ clap, format })
80
+ // console.log(`got an output ${format} file at:`, outputFilePath)
81
 
82
  res.download(outputFilePath, async () => {
83
  // clean-up after ourselves (we clear the whole tmp directory)