app.py 203 B

12345678
  1. from flask import Flask
  2. UPLOAD_FOLDER = 'C:/uploads'
  3. app = Flask(__name__)
  4. #app.secret_key = "secret key"
  5. app.config['UPLOAD_FOLDER'] = UPLOAD_FOLDER
  6. app.config['MAX_CONTENT_LENGTH'] = 16 * 1024 * 1024