adil9858 commited on
Commit
38d3c9d
·
verified ·
1 Parent(s): 8c90235

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -21,7 +21,7 @@ class MediClearBackend:
21
 
22
  @staticmethod
23
  def analyze_medical_image(image_path):
24
- """Step 1: Extract technical info using Groq VLM (Llama 4 Scout)"""
25
  try:
26
  base64_image = MediClearBackend.encode_image(image_path)
27
 
@@ -56,7 +56,7 @@ class MediClearBackend:
56
 
57
  @staticmethod
58
  def summarize_for_patient(technical_text):
59
- """Step 2: Convert technical info to patient-friendly text using Kimi K2 via Hyperbolic"""
60
  try:
61
  if not HYPERBOLIC_KEY:
62
  raise Exception("Hyperbolic API key not configured")
 
21
 
22
  @staticmethod
23
  def analyze_medical_image(image_path):
24
+ """Step 1: Extract technical info"""
25
  try:
26
  base64_image = MediClearBackend.encode_image(image_path)
27
 
 
56
 
57
  @staticmethod
58
  def summarize_for_patient(technical_text):
59
+ """Step 2: Convert technical info to patient-friendly summary"""
60
  try:
61
  if not HYPERBOLIC_KEY:
62
  raise Exception("Hyperbolic API key not configured")