Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -12,9 +12,9 @@ import json
|
|
| 12 |
import sqlite3
|
| 13 |
|
| 14 |
app = Flask(__name__)
|
| 15 |
-
app.config['UPLOAD_FOLDER'] = '
|
| 16 |
app.config['ALLOWED_EXTENSIONS'] = {'zip', 'xlsx'}
|
| 17 |
-
app.config['RESULTS_FOLDER'] = '
|
| 18 |
|
| 19 |
classifier = YOLO("./models/classification.pt")
|
| 20 |
detector = YOLO("./models/detection.pt")
|
|
|
|
| 12 |
import sqlite3
|
| 13 |
|
| 14 |
app = Flask(__name__)
|
| 15 |
+
app.config['UPLOAD_FOLDER'] = './uploads/'
|
| 16 |
app.config['ALLOWED_EXTENSIONS'] = {'zip', 'xlsx'}
|
| 17 |
+
app.config['RESULTS_FOLDER'] = './results/'
|
| 18 |
|
| 19 |
classifier = YOLO("./models/classification.pt")
|
| 20 |
detector = YOLO("./models/detection.pt")
|