Skip to content

Commit 64fbfb0

Browse files
docs: remove warm_up() calls from FunASR examples (auto-invoked by run)
1 parent 5cfd2bc commit 64fbfb0

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

‎integrations/funasr.md‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,6 @@ pip install funasr-haystack
5656
from haystack_integrations.components.audio.funasr import FunASRTranscriber
5757

5858
transcriber = FunASRTranscriber()
59-
transcriber.warm_up()
6059

6160
result = transcriber.run(sources=["speech.wav", "interview.mp3"])
6261
for doc in result["documents"]:
@@ -99,7 +98,6 @@ transcriber = FunASRTranscriber(
9998
spk_model="cam++",
10099
device=ComponentDevice.from_str("cuda"),
101100
)
102-
transcriber.warm_up()
103101

104102
result = transcriber.run(sources=["meeting.wav"])
105103
doc = result["documents"][0]

0 commit comments

Comments
 (0)