Spaces:
Sleeping
Sleeping
fix import
Browse files- mini_agents.py +2 -2
mini_agents.py
CHANGED
@@ -3,7 +3,7 @@ from tools import sort_list, operate_two_numbers, convert_number, load_dataframe
|
|
3 |
from tools import tavily_search_tool, read_python_file
|
4 |
from tools import to_dataframe, to_json, get_dataframe_data, get_dataframe_column, get_dataframe_row, get_dataframe_groupby
|
5 |
from vlm_tools import image_processing, object_detection_tool, ocr_scan_tool, extract_images_from_video, get_image_from_file_path, get_video_from_file_path
|
6 |
-
from audio_tools import transcribe_audio_tool,
|
7 |
from community_tools import community_tools, get_youtube_transcript_from_url
|
8 |
from browser import browser_tools
|
9 |
import os
|
@@ -60,7 +60,7 @@ audio_model = InferenceClientModel(
|
|
60 |
|
61 |
audio_agent = CodeAgent(
|
62 |
model=audio_model,
|
63 |
-
tools=[transcribe_audio_tool,
|
64 |
max_steps=6,
|
65 |
additional_authorized_imports=AUTHORIZED_IMPORTS,
|
66 |
name="audio_agent",
|
|
|
3 |
from tools import tavily_search_tool, read_python_file
|
4 |
from tools import to_dataframe, to_json, get_dataframe_data, get_dataframe_column, get_dataframe_row, get_dataframe_groupby
|
5 |
from vlm_tools import image_processing, object_detection_tool, ocr_scan_tool, extract_images_from_video, get_image_from_file_path, get_video_from_file_path
|
6 |
+
from audio_tools import transcribe_audio_tool, get_audio_from_file_path, noise_reduction, audio_segmentation, speaker_diarization
|
7 |
from community_tools import community_tools, get_youtube_transcript_from_url
|
8 |
from browser import browser_tools
|
9 |
import os
|
|
|
60 |
|
61 |
audio_agent = CodeAgent(
|
62 |
model=audio_model,
|
63 |
+
tools=[transcribe_audio_tool, get_audio_from_file_path, noise_reduction, audio_segmentation, speaker_diarization],
|
64 |
max_steps=6,
|
65 |
additional_authorized_imports=AUTHORIZED_IMPORTS,
|
66 |
name="audio_agent",
|