Update app.py
Browse files
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
|
| 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
|
| 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")
|