Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -20,10 +20,10 @@ os.umask(0o000)
|
|
20 |
|
21 |
|
22 |
# Folder paths
|
23 |
-
app.config['UPLOAD_FOLDER'] = 'uploads'
|
24 |
-
app.config['JSON_FOLDER'] = 'JSON'
|
25 |
-
app.config['DATA_FOLDER'] = 'data'
|
26 |
-
app.config['MODELS_FOLDER'] = 'Models'
|
27 |
|
28 |
# Creating Folders if not exists
|
29 |
os.makedirs(app.config['UPLOAD_FOLDER'], exist_ok=True)
|
|
|
20 |
|
21 |
|
22 |
# Folder paths
|
23 |
+
app.config['UPLOAD_FOLDER'] = '/app/uploads'
|
24 |
+
app.config['JSON_FOLDER'] = '/app/JSON'
|
25 |
+
app.config['DATA_FOLDER'] = '/app/data'
|
26 |
+
app.config['MODELS_FOLDER'] = '/app/Models'
|
27 |
|
28 |
# Creating Folders if not exists
|
29 |
os.makedirs(app.config['UPLOAD_FOLDER'], exist_ok=True)
|