Update api.py
Browse files
api.py
CHANGED
@@ -27,6 +27,11 @@ except ImportError as e:
|
|
27 |
|
28 |
import google.generativeai as genai
|
29 |
|
|
|
|
|
|
|
|
|
|
|
30 |
# Configure logging for the API
|
31 |
logging.basicConfig(level=logging.INFO, format='%(asctime)s - %(name)s - %(levelname)s - %(message)s')
|
32 |
logger = logging.getLogger(__name__)
|
|
|
27 |
|
28 |
import google.generativeai as genai
|
29 |
|
30 |
+
from scoring_specificity import health_check
|
31 |
+
|
32 |
+
status = health_check()
|
33 |
+
print(status)
|
34 |
+
|
35 |
# Configure logging for the API
|
36 |
logging.basicConfig(level=logging.INFO, format='%(asctime)s - %(name)s - %(levelname)s - %(message)s')
|
37 |
logger = logging.getLogger(__name__)
|