lucy1118 commited on
Commit
cd2c4e3
·
verified ·
1 Parent(s): 5356197

Update kitt.py

Browse files
Files changed (1) hide show
  1. kitt.py +7 -7
kitt.py CHANGED
@@ -22,13 +22,13 @@ MAX_IMAGES = 3
22
  NO_IMAGE_MESSAGE_GENERIC = (
23
  "I'm sorry, I don't have an image to process. Are you publishing your video?"
24
  )
25
- import torch
26
- model, _ = torch.hub.load(
27
- repo_or_dir="snakers4/silero-vad:v4.0",
28
- model="silero_vad",
29
- onnx=True,
30
- )
31
- setattr(silero.VAD, '_model', model)
32
 
33
  class AssistantFnc(agents.llm.FunctionContext):
34
  @agents.llm.ai_callable(
 
22
  NO_IMAGE_MESSAGE_GENERIC = (
23
  "I'm sorry, I don't have an image to process. Are you publishing your video?"
24
  )
25
+ # import torch
26
+ # model, _ = torch.hub.load(
27
+ # repo_or_dir="snakers4/silero-vad:v4.0",
28
+ # model="silero_vad",
29
+ # onnx=True,
30
+ # )
31
+ # setattr(silero.VAD, '_model', model)
32
 
33
  class AssistantFnc(agents.llm.FunctionContext):
34
  @agents.llm.ai_callable(