Raiff1982 commited on
Commit
32c59d7
·
verified ·
1 Parent(s): bb23514

Update codriao_tb_module.py

Browse files
Files changed (1) hide show
  1. 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
- "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
 
 
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