Cricket Player Finder

 import os
from flask import Flask, request, render_template_string
from abilities import llm_prompt

app = Flask(__name__)

<!DOCTYPE html>
<html lang="en">
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Favorite Cricket Player Predictor</title>
        body, html {
            height: 100%;
            margin: 0;
            display: flex;
            justify-content: center;
            align-items: center;
            font-family: Arial, sans-serif;
        .container {
            text-align: center;

About this template

The Cricket Player Finder app helps users discover their favorite cricket player.

Introduction to the Cricket Player Finder Template

Welcome to the Cricket Player Finder app template! This template is designed to help you create an application that predicts a user's favorite cricket player based on their preferred cricket position. The app uses a simple web interface where users can input their favorite cricket position, and the app will display a prediction of their favorite cricket player.

Getting Started

To begin using this template, click on the "Start with this Template" button. This will set up the template in your Lazy builder interface, pre-populating the code so you can start customizing and deploying your app without the need to copy or paste any code.

Test: Deploying the App

Once you have the template set up, press the "Test" button to begin the deployment of your app. The Lazy CLI will handle the deployment process, and you won't need to worry about installing libraries or setting up your environment.

Entering Input

After pressing the "Test" button, if the app requires any user input, the Lazy App's CLI interface will prompt you to provide it. In this template, the user input will be the cricket position that the user enters on the web interface, so no additional CLI input is required at this stage.

Using the App

Once the app is deployed, Lazy will provide you with a dedicated server link. You can use this link to access the web interface of your Cricket Player Finder app. Here's how to use the interface:

  • Visit the provided server link in your web browser.
  • You will see a form asking for your favorite cricket position.
  • Enter the cricket position in the text field and submit the form.
  • The app will then display a prediction of your favorite cricket player based on the input you provided.

Integrating the App

If you wish to integrate this app into another service or frontend, you may need to use the server link provided by Lazy. For example, you could embed the link in an iframe on your website or provide it as a link for users to access the Cricket Player Finder directly.

There are no additional external integration steps required for this template, as it is a standalone web application. However, if you plan to extend the app's functionality or integrate it with other platforms, you may need to consider the appropriate steps for those specific services.

Remember, this template is a starting point, and you can customize it further to fit your needs. Enjoy building with Lazy!

Last published
April 7, 2024

More templates like this

Customisable Server Status Dashboard

This template allows you to create a dashboard to report about incidents regarding your server to your users.


A bot that answers questions about data

Ask questions about your database via a chat bot. This chatbot connects to a SQLITE database, generates queries for it based on the schema and then runs the queries printing the response all in a nicely styled chat UI. This template is pre-loaded with sample data (car parts) to play around with - here are the sample data columns that you can query: part_number, part_name, price, units_left_in_stock, manufacturer .


WhatsApp Bot Builder

The WhatsApp Bot Builder app allows users to create a WhatsApp bot that responds to every message with "Hello World".

Cricket Player Finder