Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -14,13 +14,6 @@ from rfdetr import RFDETRNano
|
|
| 14 |
# Ensure local 'rfdetr' folder is found if present
|
| 15 |
sys.path.insert(0, os.getcwd())
|
| 16 |
|
| 17 |
-
# Attempt to import the specific RF-DETR class
|
| 18 |
-
# try:
|
| 19 |
-
# from rfdetr import RFDETRNano
|
| 20 |
-
# except ImportError:
|
| 21 |
-
# print("[WARN] 'rfdetr' library not found. RF-DETR will be disabled.")
|
| 22 |
-
# RFDETRNano = None
|
| 23 |
-
|
| 24 |
app = Flask(__name__, static_folder="static")
|
| 25 |
|
| 26 |
# --- Constants & Configuration ---
|
|
|
|
| 14 |
# Ensure local 'rfdetr' folder is found if present
|
| 15 |
sys.path.insert(0, os.getcwd())
|
| 16 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 17 |
app = Flask(__name__, static_folder="static")
|
| 18 |
|
| 19 |
# --- Constants & Configuration ---
|