Spaces:
Sleeping
Sleeping
bug fix
Browse files- src/agents/__init__.py +15 -40
src/agents/__init__.py
CHANGED
|
@@ -1,46 +1,21 @@
|
|
| 1 |
"""
|
| 2 |
-
|
| 3 |
-
|
| 4 |
-
This module contains UI-related components including styles, visualizations,
|
| 5 |
-
and utility functions for the Streamlit application.
|
| 6 |
"""
|
| 7 |
|
| 8 |
-
from .
|
| 9 |
-
from .
|
| 10 |
-
|
| 11 |
-
|
| 12 |
-
|
| 13 |
-
|
| 14 |
-
|
| 15 |
-
|
| 16 |
-
display_visual_document_statistics,
|
| 17 |
-
display_visual_document_details
|
| 18 |
-
)
|
| 19 |
-
from .saliency import (
|
| 20 |
-
generate_tile_aware_saliency,
|
| 21 |
-
can_generate_saliency,
|
| 22 |
-
get_saliency_metadata_summary,
|
| 23 |
-
DEFAULT_ALPHA,
|
| 24 |
-
DEFAULT_COLORMAP,
|
| 25 |
-
DEFAULT_THRESHOLD_PERCENTILE
|
| 26 |
-
)
|
| 27 |
|
| 28 |
__all__ = [
|
| 29 |
-
"
|
| 30 |
-
"
|
| 31 |
-
"
|
| 32 |
-
"
|
| 33 |
-
"
|
| 34 |
-
"
|
| 35 |
-
"display_visual_document_details",
|
| 36 |
-
# Saliency functions
|
| 37 |
-
"generate_tile_aware_saliency",
|
| 38 |
-
"can_generate_saliency",
|
| 39 |
-
"get_saliency_metadata_summary",
|
| 40 |
-
"DEFAULT_ALPHA",
|
| 41 |
-
"DEFAULT_COLORMAP",
|
| 42 |
-
"DEFAULT_THRESHOLD_PERCENTILE"
|
| 43 |
]
|
| 44 |
-
|
| 45 |
-
|
| 46 |
-
|
|
|
|
| 1 |
"""
|
| 2 |
+
Agent modules for chatbot implementations
|
|
|
|
|
|
|
|
|
|
| 3 |
"""
|
| 4 |
|
| 5 |
+
from .gemini_chatbot import get_gemini_chatbot
|
| 6 |
+
from .visual_chatbot import get_visual_chatbot
|
| 7 |
+
from .multi_agent_chatbot import get_multi_agent_chatbot
|
| 8 |
+
from .smart_chatbot import get_chatbot as get_smart_chatbot
|
| 9 |
+
from .visual_multi_agent_chatbot import get_visual_multi_agent_chatbot
|
| 10 |
+
|
| 11 |
+
# Alias for backward compatibility
|
| 12 |
+
get_visual_chatbot_v2 = get_visual_multi_agent_chatbot
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 13 |
|
| 14 |
__all__ = [
|
| 15 |
+
"get_smart_chatbot",
|
| 16 |
+
"get_multi_agent_chatbot",
|
| 17 |
+
"get_gemini_chatbot",
|
| 18 |
+
"get_visual_chatbot",
|
| 19 |
+
"get_visual_multi_agent_chatbot",
|
| 20 |
+
"get_visual_chatbot_v2"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 21 |
]
|
|
|
|
|
|
|
|
|