Update app.py
Browse files
app.py
CHANGED
@@ -15,7 +15,7 @@ flask_app = Flask(__name__)
|
|
15 |
|
16 |
# Path folder untuk menyimpan file yang diunggah
|
17 |
UPLOAD_FOLDER = 'static/uploads'
|
18 |
-
|
19 |
|
20 |
# Load model dan scaler
|
21 |
model = tf.keras.models.load_model('model_code1.keras')
|
|
|
15 |
|
16 |
# Path folder untuk menyimpan file yang diunggah
|
17 |
UPLOAD_FOLDER = 'static/uploads'
|
18 |
+
flask_app.config['UPLOAD_FOLDER'] = UPLOAD_FOLDER
|
19 |
|
20 |
# Load model dan scaler
|
21 |
model = tf.keras.models.load_model('model_code1.keras')
|