Spaces:
Runtime error
Runtime error
Update codriao_tb_module.py
Browse files- codriao_tb_module.py +7 -6
codriao_tb_module.py
CHANGED
|
@@ -38,10 +38,11 @@ class CodriaoHealthModule:
|
|
| 38 |
response = await self.ai_core.generate_response(combined_query, user_id)
|
| 39 |
|
| 40 |
return {
|
| 41 |
-
|
| 42 |
-
|
| 43 |
-
|
| 44 |
-
|
| 45 |
-
|
| 46 |
-
|
|
|
|
| 47 |
|
|
|
|
| 38 |
response = await self.ai_core.generate_response(combined_query, user_id)
|
| 39 |
|
| 40 |
return {
|
| 41 |
+
"tb_risk": tb_risk,
|
| 42 |
+
"image_analysis": {"result": image_result, "confidence": image_confidence},
|
| 43 |
+
"audio_analysis": {"result": audio_result, "confidence": audio_confidence},
|
| 44 |
+
"ethical_analysis": response.get("response"),
|
| 45 |
+
"explanation": response.get("explanation"),
|
| 46 |
+
"system_health": response.get("health")
|
| 47 |
+
}
|
| 48 |
|