Jayashree Sridhar
commited on
Commit
·
1d47c3d
1
Parent(s):
730c299
modified voice_tool
Browse files
agents/tools/voice_tools.py
CHANGED
|
@@ -42,7 +42,7 @@ class MultilingualVoiceProcessor:
|
|
| 42 |
class TranscribeAudioTool(BaseTool):
|
| 43 |
name: str = "transcribe_audio"
|
| 44 |
description: str = "Transcribe audio to text and detect language."
|
| 45 |
-
|
| 46 |
def __init__(self, config=None):
|
| 47 |
super().__init__()
|
| 48 |
self.vp = MultilingualVoiceProcessor()
|
|
|
|
| 42 |
class TranscribeAudioTool(BaseTool):
|
| 43 |
name: str = "transcribe_audio"
|
| 44 |
description: str = "Transcribe audio to text and detect language."
|
| 45 |
+
vp: MultilingualVoiceProcessor = PrivateAttr()
|
| 46 |
def __init__(self, config=None):
|
| 47 |
super().__init__()
|
| 48 |
self.vp = MultilingualVoiceProcessor()
|