Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -6,11 +6,9 @@ import json
|
|
6 |
import os
|
7 |
|
8 |
UPLOAD_FOLDER = 'uploads'
|
9 |
-
application.config['UPLOAD_FOLDER'] = UPLOAD_FOLDER
|
10 |
if not os.path.exists(UPLOAD_FOLDER):
|
11 |
os.makedirs(UPLOAD_FOLDER)
|
12 |
UPLOAD_FOLDER = 'static'
|
13 |
-
application.config['UPLOAD_FOLDER'] = UPLOAD_FOLDER
|
14 |
if not os.path.exists(UPLOAD_FOLDER):
|
15 |
os.makedirs(UPLOAD_FOLDER)
|
16 |
|
|
|
6 |
import os
|
7 |
|
8 |
UPLOAD_FOLDER = 'uploads'
|
|
|
9 |
if not os.path.exists(UPLOAD_FOLDER):
|
10 |
os.makedirs(UPLOAD_FOLDER)
|
11 |
UPLOAD_FOLDER = 'static'
|
|
|
12 |
if not os.path.exists(UPLOAD_FOLDER):
|
13 |
os.makedirs(UPLOAD_FOLDER)
|
14 |
|