Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -12,6 +12,10 @@ from src.retrieval.semantic_retriever import OptimizedSemanticRetriever # Updat
|
|
| 12 |
from src.generation.response_generator import ResponseGenerator
|
| 13 |
from config.settings import config
|
| 14 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 15 |
class OptimizedMANITChatbot:
|
| 16 |
"""Performance optimized chatbot class"""
|
| 17 |
|
|
|
|
| 12 |
from src.generation.response_generator import ResponseGenerator
|
| 13 |
from config.settings import config
|
| 14 |
|
| 15 |
+
num_cores = os.cpu_count()
|
| 16 |
+
print(f"Number of CPU cores: {num_cores}")
|
| 17 |
+
|
| 18 |
+
|
| 19 |
class OptimizedMANITChatbot:
|
| 20 |
"""Performance optimized chatbot class"""
|
| 21 |
|