Spaces:
Sleeping
Sleeping
Daksh Chaudhary commited on
Update agent_tools/AudioInterpreterTool.py
Browse files
agent_tools/AudioInterpreterTool.py
CHANGED
|
@@ -1,5 +1,5 @@
|
|
| 1 |
import os
|
| 2 |
-
from
|
| 3 |
from llama_index.core.tools import FunctionTool
|
| 4 |
|
| 5 |
def transcribe_audio(audio_file_path: str) -> str:
|
|
|
|
| 1 |
import os
|
| 2 |
+
from llama_index.readers.assemblyai import AssemblyAIAudioTranscriptReader
|
| 3 |
from llama_index.core.tools import FunctionTool
|
| 4 |
|
| 5 |
def transcribe_audio(audio_file_path: str) -> str:
|