Spaces:
Paused
Paused
Update neural_forge/app.py
Browse files- neural_forge/app.py +2 -2
neural_forge/app.py
CHANGED
|
@@ -104,10 +104,10 @@ async def health() -> dict:
|
|
| 104 |
return {
|
| 105 |
"status": overall,
|
| 106 |
"version": __version__,
|
| 107 |
-
"models": status,
|
| 108 |
"errors": dict(REGISTRY.errors),
|
| 109 |
"gpu": REGISTRY.gpu_info(),
|
| 110 |
-
"reasoning_model": SETTINGS.qwen_model_id,
|
| 111 |
"active_sessions": SESSIONS.count(),
|
| 112 |
"installed_exams": [exam.exam_id for exam in available_exams()],
|
| 113 |
}
|
|
|
|
| 104 |
return {
|
| 105 |
"status": overall,
|
| 106 |
"version": __version__,
|
| 107 |
+
"models": {"vision": status.get("pose", "not_loaded"), "reasoning": status.get("neural_forge", "not_loaded")},
|
| 108 |
"errors": dict(REGISTRY.errors),
|
| 109 |
"gpu": REGISTRY.gpu_info(),
|
| 110 |
+
#"reasoning_model": SETTINGS.qwen_model_id,
|
| 111 |
"active_sessions": SESSIONS.count(),
|
| 112 |
"installed_exams": [exam.exam_id for exam in available_exams()],
|
| 113 |
}
|