from PIL import Image from flask import Flask, request, jsonify, send_file from io import BytesIO from api import app if __name__ == '__main__': app.run(host='0.0.0.0', port=8080, debug=True)