Spaces:
Sleeping
Sleeping
| from flask import Flask, render_template, request | |
| app = Flask(__name__) | |
| def home(): | |
| return render_template('home.html') | |
| def product(): | |
| product_id = request.args.get('product_id') | |
| appliance = request.args.get('appliance') | |
| return render_template('product_detail.html', product_id=product_id, appliance=appliance) | |
| if __name__ == '__main__': | |
| app.run(host='0.0.0.0', port=7860, debug=True) |