ruff
This commit is contained in:
+1
-1
@@ -1,4 +1,3 @@
|
|||||||
import asyncio
|
|
||||||
import logging
|
import logging
|
||||||
|
|
||||||
from dotenv import load_dotenv
|
from dotenv import load_dotenv
|
||||||
@@ -49,6 +48,7 @@ class Assistant(Agent):
|
|||||||
|
|
||||||
return "sunny with a temperature of 70 degrees."
|
return "sunny with a temperature of 70 degrees."
|
||||||
|
|
||||||
|
|
||||||
def prewarm(proc: JobProcess):
|
def prewarm(proc: JobProcess):
|
||||||
proc.userdata["vad"] = silero.VAD.load()
|
proc.userdata["vad"] = silero.VAD.load()
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user