File size: 297 Bytes
92fa45a
 
1a250ca
92fa45a
f21bc12
92fa45a
 
 
f21bc12
92fa45a
 
1
2
3
4
5
6
7
8
9
10
11
from flask import Flask, request
from utils import process_request  # Import the process route handler

app = Flask(__name__)

@app.route('/process', methods=['POST'])
def process():
    return process_request(request)

if __name__ == '__main__':
    app.run(debug=True, host='0.0.0.0', port=7860)