Spaces:
Sleeping

Prayag80 commited on
Commit
593df32
·
1 Parent(s): 243d8bd

Fix image resolution bug to 512 to preserve fine retinal details

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -11,7 +11,7 @@ from fastapi.responses import JSONResponse
11
 
12
  # Model configuration
13
  CLASS_NAMES = ['No_DR', 'Mild', 'Moderate', 'Severe', 'Proliferative_DR']
14
- IMAGE_SIZE = 224
15
  DEVICE = 'cpu' # Hugging Face Spaces use CPU
16
 
17
  # Model architecture (must match training)
 
11
 
12
  # Model configuration
13
  CLASS_NAMES = ['No_DR', 'Mild', 'Moderate', 'Severe', 'Proliferative_DR']
14
+ IMAGE_SIZE = 512
15
  DEVICE = 'cpu' # Hugging Face Spaces use CPU
16
 
17
  # Model architecture (must match training)