Update app.py
Browse files
app.py
CHANGED
|
@@ -16,7 +16,7 @@ INPUT_H = INPUT_W = 512 # what you trained with
|
|
| 16 |
THRESH = 0.5 # binarisation
|
| 17 |
DEEP_SUP = False
|
| 18 |
ALPHA = 0.40 # overlay transparency
|
| 19 |
-
ALLOWED_FRONT = "https://amitabhm1.github.io
|
| 20 |
################ -------------------------------------------------
|
| 21 |
|
| 22 |
# ---------------- FastAPI (plus simple CORS) ------------------
|
|
|
|
| 16 |
THRESH = 0.5 # binarisation
|
| 17 |
DEEP_SUP = False
|
| 18 |
ALPHA = 0.40 # overlay transparency
|
| 19 |
+
ALLOWED_FRONT = "https://amitabhm1.github.io" # GitHub‑Pages origin
|
| 20 |
################ -------------------------------------------------
|
| 21 |
|
| 22 |
# ---------------- FastAPI (plus simple CORS) ------------------
|