ht / app.py
Geek7's picture
Update app.py
ee52d44 verified
raw
history blame contribute delete
272 Bytes
from flask import Flask, render_template
from flask_cors import CORS # Import CORS
app = Flask(__name__)
# Enable CORS for the entire app
CORS(app)
@app.route('/')
def home():
return render_template('image.html')
if __name__ == "__main__":
app.run(debug=True)