WTT / app.py
loko99's picture
Upload 5 files
a65600d verified
Raw
History Blame Contribute Delete
583 Bytes
"""
Activity Time Explorer (Flask)
-------------------------------
Minimal Flask server — serves only the HTML template and static assets.
All CSV processing happens client-side in the browser.
Run with:
pip install flask
python app.py
Then open http://localhost:5000 and upload a CSV.
"""
from flask import Flask, render_template
from waitress import serve
app = Flask(__name__)
@app.route("/")
def index():
return render_template("index.html")
if __name__ == "__main__":
print("Serving on http://localhost:5000")
serve(app, host="0.0.0.0", port=5000)