Spaces:
Sleeping
Sleeping
Commit
·
60f0600
1
Parent(s):
9b20696
Complete project upload with fixed __init__.py
Browse files
src/second_brain_online/application/__init__.py
CHANGED
|
@@ -1,15 +1,9 @@
|
|
| 1 |
-
|
| 2 |
-
|
| 3 |
-
|
| 4 |
-
|
| 5 |
-
|
| 6 |
-
|
| 7 |
-
|
| 8 |
-
|
| 9 |
-
|
| 10 |
-
gradio>=5.12.0
|
| 11 |
-
smolagents>=1.4.1
|
| 12 |
-
opik>=1.4.2
|
| 13 |
-
comet_ml>=3.47.6
|
| 14 |
-
langchain-huggingface>=0.1.2
|
| 15 |
-
huggingface-hub>=0.27.1
|
|
|
|
| 1 |
+
from . import agents, rag
|
| 2 |
+
|
| 3 |
+
# Optional import for evaluation - may cause issues in some environments
|
| 4 |
+
try:
|
| 5 |
+
from .evaluation import evaluate
|
| 6 |
+
__all__ = ["rag", "agents", "evaluate"]
|
| 7 |
+
except ImportError as e:
|
| 8 |
+
print(f"Warning: Could not import evaluation module: {e}")
|
| 9 |
+
__all__ = ["rag", "agents"]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|