Update app.py
Browse files
app.py
CHANGED
@@ -6,6 +6,8 @@ import torch
|
|
6 |
|
7 |
# Device configuration (explicitly set to CPU)
|
8 |
DEVICE = "cpu"
|
|
|
|
|
9 |
|
10 |
# Model Options (for user selection)
|
11 |
MODEL_OPTIONS = {
|
|
|
6 |
|
7 |
# Device configuration (explicitly set to CPU)
|
8 |
DEVICE = "cpu"
|
9 |
+
# Maximum Image Size (Defined at the top level)
|
10 |
+
MAX_IMAGE_SIZE = 1024
|
11 |
|
12 |
# Model Options (for user selection)
|
13 |
MODEL_OPTIONS = {
|