jbilcke-hf HF staff commited on
Commit
63a66b5
Β·
1 Parent(s): f67d756

let's disable it, for safety

Browse files
src/index.mts CHANGED
@@ -23,7 +23,7 @@ import { getRenderedScene, renderScene } from "./production/renderScene.mts"
23
  import { parseRenderRequest } from "./utils/parseRenderRequest.mts"
24
  import { loadRenderedSceneFromCache } from "./utils/loadRenderedSceneFromCache.mts"
25
  import { analyzeImage } from "./analysis/analyzeImageWithIDEFICSAndNastyHack.mts"
26
- import { speechToText } from "./speechToText/speechToTextWithWhisperLib.mts"
27
 
28
  initFolders()
29
  // to disable all processing (eg. to debug)
@@ -98,6 +98,8 @@ app.post("/analyze", async (req, res) => {
98
 
99
 
100
  // a sound recognition pipeline
 
 
101
  app.post("/listen", async (req, res) => {
102
 
103
  const request = req.body as SoundAnalysisRequest
@@ -141,6 +143,7 @@ app.post("/listen", async (req, res) => {
141
  return
142
  }
143
  })
 
144
 
145
  // a "fast track" pipeline
146
  app.post("/render", async (req, res) => {
 
23
  import { parseRenderRequest } from "./utils/parseRenderRequest.mts"
24
  import { loadRenderedSceneFromCache } from "./utils/loadRenderedSceneFromCache.mts"
25
  import { analyzeImage } from "./analysis/analyzeImageWithIDEFICSAndNastyHack.mts"
26
+ // import { speechToText } from "./speechToText/speechToTextWithWhisperLib.mts"
27
 
28
  initFolders()
29
  // to disable all processing (eg. to debug)
 
98
 
99
 
100
  // a sound recognition pipeline
101
+ // it is currently broken
102
+ /*
103
  app.post("/listen", async (req, res) => {
104
 
105
  const request = req.body as SoundAnalysisRequest
 
143
  return
144
  }
145
  })
146
+ */
147
 
148
  // a "fast track" pipeline
149
  app.post("/render", async (req, res) => {
src/speechToText/{speechToTextWithWhisperLib.mts β†’ speechToTextWithWhisperLib.txt} RENAMED
File without changes