Day 80 of 100 days of python- need help in running the flask server

Question: I have set up a Flask server with the correct app route and linked my HTML file with that correctly I beleive. still, the server is not running. Afaiu code is fine. Please guide me as I am beginner in programming

Repl link:

from flask import Flask, request

app = Flask(__name__)

@app.route("/process", methods=["POST"])
def process():
    form = request.form
    page = ""

    if form["baldies"] == "david":
        page += f"You're alright {form['username']}"
        page += f"You've picked wrong {form['username']}"
    return page

def index():
    page = ""
    f = open("index.html", "r")
    page =
    return page"", port=81)

<!DOCTYPE html>
  <form method = "post" action="/process">
    <p>Name: <input type="text" name="username" required> </p>
    <p>Email: <input type="Email" name="email"> </p>
    <p>Website: <input type="url" name="website"> </p>
    <p>Age: <input type="number" name="age"> </p>
    <p><input type="hidden" name="userID" value="232"> </p>

      Fave Baldy: 
      <select name="baldies">
        <option value ='david'>David</option>
        <option value= 'luc'>Jean Luc Picard</option>
        <option value='yul'>Yul Brynner</option>

    <button type="submit">Save Data</button>

4 posts were merged into an existing topic: Day 080 - Project 80 : Actually logging in!