File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed
examples/src/simulflow_examples Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change 1515 [simulflow.transport.in :as transport-in]
1616 [simulflow.transport.out :as transport-out]
1717 [simulflow.utils.core :as u]
18+ [simulflow.vad.core :as vad]
1819 [simulflow.vad.silero :as silero]
1920 [taoensso.telemere :as t]))
2021
239240
240241(comment
241242
242- (system-router/generate-system-router-connections demo )
243+ (def vad-analyser ( silero/create-silero-vad ) )
243244
244- (def local-ai (make-local-flow {:vad-analyser ( silero/create-silero- vad) }))
245+ (def local-ai (make-local-flow {:vad-analyser vad-analyser }))
245246
246247 (defonce flow-started? (atom false ))
247248
261262 ; ; Stop the conversation
262263 (do
263264 (flow/stop local-ai)
264- (reset! flow-started? false )))
265+ (reset! flow-started? false )
266+ (vad/cleanup vad-analyser)))
You can’t perform that action at this time.
0 commit comments