INNER CODE UNIT · Python

index

prakhar1989/docker-curriculum · flask-app/app.py:24

def index():
    url = random.choice(images)
    return render_template("index.html", url=url)


if __name__ == "__main__":
    app.run(host="0.0.0.0", port=int(os.environ.get("PORT", 5000)))

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…