Newer
Older
Max Ramsay King
committed
# if __name__ == '__main__':
# app.run(host='0.0.0.0',port=port)
from auto_augmentation import home, progress,result, training
Max Ramsay King
committed
from flask import Flask, flash, request, redirect, url_for
from werkzeug.utils import secure_filename
# app = Flask(__name__)
# app.config.from_mapping(
# SECRET_KEY='dev',
# )
# # ensure the instance folder exists
# os.makedirs(app.instance_path, exist_ok=True)
# from auto_augmentation import download_file
# app.register_blueprint(home.bp)
# app.register_blueprint(progress.bp)
# app.register_blueprint(training.bp)
# app.register_blueprint(result.bp)
# app.register_blueprint(download_file.bp)
# port = int(os.environ.get("PORT", 5000))
Max Ramsay King
committed
Max Ramsay King
committed