Spaces:
Sleeping
Sleeping
minor things
Browse files- mini_agents.py +2 -0
- scripts.sh +2 -1
mini_agents.py
CHANGED
@@ -63,6 +63,7 @@ audio_agent = CodeAgent(
|
|
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",
|
67 |
description="This agent is responsible for processing audio, loading mp3 audio and converting it to base64, reducing noise, segmenting audio and transcribing audio (in base64 format). It cannot process videos."
|
68 |
)
|
@@ -77,6 +78,7 @@ vlm_agent = CodeAgent(
|
|
77 |
tools=[image_processing, object_detection_tool, ocr_scan_tool, extract_images_from_video, get_image_from_file_path, get_video_from_file_path],
|
78 |
max_steps=6,
|
79 |
additional_authorized_imports=AUTHORIZED_IMPORTS,
|
|
|
80 |
name="vlm_agent",
|
81 |
description="This agent is responsible for downloading images or videos, processing images or videos, detecting objects in them and extracting text from them. It cannot process audios."
|
82 |
)
|
|
|
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 |
+
planning_interval=6,
|
67 |
name="audio_agent",
|
68 |
description="This agent is responsible for processing audio, loading mp3 audio and converting it to base64, reducing noise, segmenting audio and transcribing audio (in base64 format). It cannot process videos."
|
69 |
)
|
|
|
78 |
tools=[image_processing, object_detection_tool, ocr_scan_tool, extract_images_from_video, get_image_from_file_path, get_video_from_file_path],
|
79 |
max_steps=6,
|
80 |
additional_authorized_imports=AUTHORIZED_IMPORTS,
|
81 |
+
planning_interval=6,
|
82 |
name="vlm_agent",
|
83 |
description="This agent is responsible for downloading images or videos, processing images or videos, detecting objects in them and extracting text from them. It cannot process audios."
|
84 |
)
|
scripts.sh
CHANGED
@@ -7,4 +7,5 @@ apt-get --assume-yes install libatk-bridge2.0-0
|
|
7 |
apt-get --assume-yes install libatspi2.0-0
|
8 |
apt-get --assume-yes install libxcomposite1
|
9 |
apt-get --assume-yes install libxdamage1
|
10 |
-
apt-get --assume-yes install libasound2
|
|
|
|
7 |
apt-get --assume-yes install libatspi2.0-0
|
8 |
apt-get --assume-yes install libxcomposite1
|
9 |
apt-get --assume-yes install libxdamage1
|
10 |
+
apt-get --assume-yes install libasound2
|
11 |
+
apt-get --assume-yes install libcups2
|