erick6655 commited on
Commit ·
d7bb799
1
Parent(s): 22055af
Fix kwarg parameter name
Browse files
app.py
CHANGED
|
@@ -44,9 +44,9 @@ async def diagnose(
|
|
| 44 |
shutil.copyfileobj(mri_scan.file, tmp)
|
| 45 |
tmp_path = tmp.name
|
| 46 |
|
| 47 |
-
# Ejecutamos la Inferencia
|
| 48 |
result = engine.diagnose_patient(
|
| 49 |
-
|
| 50 |
age=age,
|
| 51 |
mmse_score=mmse_score,
|
| 52 |
edu_years=edu_years
|
|
|
|
| 44 |
shutil.copyfileobj(mri_scan.file, tmp)
|
| 45 |
tmp_path = tmp.name
|
| 46 |
|
| 47 |
+
# Ejecutamos la Inferencia con PyTorch
|
| 48 |
result = engine.diagnose_patient(
|
| 49 |
+
image_path=tmp_path,
|
| 50 |
age=age,
|
| 51 |
mmse_score=mmse_score,
|
| 52 |
edu_years=edu_years
|