Spaces:
Sleeping
Sleeping
Download templates/index.html from Nausad/Data2Model: direct link, hf CLI and curl.
- Browser
- Download file 10.8 kB
-
https://huggingface.co/spaces/Nausad/Data2Model/resolve/main/templates/index.html
- Command line
-
hf download hf://spaces/Nausad/Data2Model/templates/index.html
-
curl -L -o index.html https://huggingface.co/spaces/Nausad/Data2Model/resolve/main/templates/index.html
10.8 kB
| {% extends "base.html" %} | |
| {% block title %}Data2Model - Home{% endblock %} | |
| {% block content %} | |
| <!-- Hero Section --> | |
| <div class="hero-section py-5"> | |
| <div class="container"> | |
| <div class="row align-items-center"> | |
| <div class="col-lg-6"> | |
| <h1 class="display-4 fw-bold mb-4 hero-title"> | |
| <i class="fas fa-robot"></i> Data2Model | |
| </h1> | |
| <h2 class="hero-subtitle mb-4"> | |
| Transform Your Data into Powerful Machine Learning Models in Minutes | |
| </h2> | |
| <p class="hero-description mb-4"> | |
| Upload your dataset, and let our automated ML platform handle everything from | |
| preprocessing to model training and evaluation. No coding required! | |
| </p> | |
| <div class="d-flex gap-2"> | |
| <a href="#upload-section" class="btn btn-dark btn-lg"> | |
| <i class="fas fa-upload"></i> Get Started | |
| </a> | |
| <a href="{{ url_for('documentation') }}" class="btn btn-dark btn-lg"> | |
| <i class="fas fa-book"></i> Learn More | |
| </a> | |
| </div> | |
| </div> | |
| <div class="col-lg-6 text-center"> | |
| <i class="fas fa-brain fa-10x text-primary opacity-50"></i> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Value Proposition Section --> | |
| <div class="container my-5"> | |
| <div class="row text-center"> | |
| <div class="col-md-4 mb-3"> | |
| <i class="fas fa-clock fa-3x text-primary mb-3"></i> | |
| <h5>Save Time</h5> | |
| <p class="text-muted">Build ML models in minutes, not weeks</p> | |
| </div> | |
| <div class="col-md-4 mb-3"> | |
| <i class="fas fa-code fa-3x text-success mb-3"></i> | |
| <h5>No Coding Required</h5> | |
| <p class="text-muted">User-friendly interface for everyone</p> | |
| </div> | |
| <div class="col-md-4 mb-3"> | |
| <i class="fas fa-chart-line fa-3x text-info mb-3"></i> | |
| <h5>High Accuracy</h5> | |
| <p class="text-muted">Automatic algorithm selection for best results</p> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Features Section --> | |
| <div class="container my-5"> | |
| <h2 class="text-center mb-5">Key Features</h2> | |
| <div class="row g-4"> | |
| <div class="col-md-4"> | |
| <div class="card h-100 shadow-sm"> | |
| <div class="card-body text-center"> | |
| <i class="fas fa-magic fa-3x text-primary mb-3"></i> | |
| <h5 class="card-title">Fully Automated</h5> | |
| <p class="card-text"> | |
| Automatic data preprocessing, feature engineering, model selection, | |
| and hyperparameter tuning. Just upload and click! | |
| </p> | |
| </div> | |
| </div> | |
| </div> | |
| <div class="col-md-4"> | |
| <div class="card h-100 shadow-sm"> | |
| <div class="card-body text-center"> | |
| <i class="fas fa-chart-bar fa-3x text-success mb-3"></i> | |
| <h5 class="card-title">Multiple Algorithms</h5> | |
| <p class="card-text"> | |
| Supports classification, regression, and clustering. Automatically | |
| compares multiple algorithms and selects the best one. | |
| </p> | |
| </div> | |
| </div> | |
| </div> | |
| <div class="col-md-4"> | |
| <div class="card h-100 shadow-sm"> | |
| <div class="card-body text-center"> | |
| <i class="fas fa-download fa-3x text-info mb-3"></i> | |
| <h5 class="card-title">Downloadable Models</h5> | |
| <p class="card-text"> | |
| Download your trained models for future use. Deploy them in your | |
| applications or make predictions on new data. | |
| </p> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Upload Section --> | |
| <div id="upload-section" class="bg-light py-5"> | |
| <div class="container"> | |
| <div class="row justify-content-center"> | |
| <div class="col-lg-8"> | |
| <div class="card shadow"> | |
| <div class="card-header bg-primary text-white"> | |
| <h4 class="mb-0"> | |
| <i class="fas fa-upload"></i> Upload Your Dataset | |
| </h4> | |
| </div> | |
| <div class="card-body"> | |
| <form action="{{ url_for('upload_file') }}" method="post" enctype="multipart/form-data" id="uploadForm"> | |
| <div class="mb-4"> | |
| <label for="file" class="form-label"> | |
| <strong>Select your dataset file</strong> | |
| </label> | |
| <input type="file" class="form-control" id="file" name="file" | |
| accept=".csv,.xlsx,.xls,.json" required> | |
| <div class="form-text"> | |
| Supported formats: CSV, Excel (.xlsx, .xls), JSON | |
| </div> | |
| </div> | |
| <div class="alert alert-info"> | |
| <h6 class="alert-heading"> | |
| <i class="fas fa-info-circle"></i> What happens next? | |
| </h6> | |
| <ol class="mb-0 ps-3"> | |
| <li>Your dataset will be analyzed automatically</li> | |
| <li>Select your target column and configure options</li> | |
| <li>Our system will train multiple ML models</li> | |
| <li>Get results and download the best model</li> | |
| </ol> | |
| </div> | |
| <div class="d-grid"> | |
| <button type="submit" class="btn btn-primary btn-lg"> | |
| <i class="fas fa-upload"></i> Upload and Analyze | |
| </button> | |
| </div> | |
| </form> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- How It Works --> | |
| <div class="container my-5"> | |
| <h2 class="text-center mb-5">How It Works</h2> | |
| <div class="row"> | |
| <div class="col-md-3 text-center mb-4"> | |
| <div class="step-circle bg-primary text-white mx-auto mb-3">1</div> | |
| <h5>Upload Data</h5> | |
| <p>Upload your CSV, Excel, or JSON file</p> | |
| </div> | |
| <div class="col-md-3 text-center mb-4"> | |
| <div class="step-circle bg-success text-white mx-auto mb-3">2</div> | |
| <h5>Configure</h5> | |
| <p>Select target column and options</p> | |
| </div> | |
| <div class="col-md-3 text-center mb-4"> | |
| <div class="step-circle bg-info text-white mx-auto mb-3">3</div> | |
| <h5>Train Models</h5> | |
| <p>System trains and compares models</p> | |
| </div> | |
| <div class="col-md-3 text-center mb-4"> | |
| <div class="step-circle bg-warning text-white mx-auto mb-3">4</div> | |
| <h5>Download</h5> | |
| <p>Get your trained model and results</p> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Supported Algorithms --> | |
| <div class="bg-light py-5"> | |
| <div class="container"> | |
| <h2 class="text-center mb-5">Supported Algorithms</h2> | |
| <div class="row"> | |
| <div class="col-md-6 mb-4"> | |
| <div class="card h-100"> | |
| <div class="card-header bg-success text-white"> | |
| <h5 class="mb-0">Classification</h5> | |
| </div> | |
| <div class="card-body"> | |
| <ul class="list-unstyled"> | |
| <li><i class="fas fa-check text-success"></i> Logistic Regression</li> | |
| <li><i class="fas fa-check text-success"></i> Random Forest</li> | |
| <li><i class="fas fa-check text-success"></i> Gradient Boosting</li> | |
| <li><i class="fas fa-check text-success"></i> Decision Tree</li> | |
| <li><i class="fas fa-check text-success"></i> K-Nearest Neighbors</li> | |
| <li><i class="fas fa-check text-success"></i> Naive Bayes</li> | |
| <li><i class="fas fa-check text-success"></i> Support Vector Machine</li> | |
| <li><i class="fas fa-check text-success"></i> AdaBoost</li> | |
| </ul> | |
| </div> | |
| </div> | |
| </div> | |
| <div class="col-md-6 mb-4"> | |
| <div class="card h-100"> | |
| <div class="card-header bg-primary text-white"> | |
| <h5 class="mb-0">Regression</h5> | |
| </div> | |
| <div class="card-body"> | |
| <ul class="list-unstyled"> | |
| <li><i class="fas fa-check text-primary"></i> Linear Regression</li> | |
| <li><i class="fas fa-check text-primary"></i> Random Forest</li> | |
| <li><i class="fas fa-check text-primary"></i> Gradient Boosting</li> | |
| <li><i class="fas fa-check text-primary"></i> XGBoost</li> | |
| <li><i class="fas fa-check text-primary"></i> LightGBM</li> | |
| <li><i class="fas fa-check text-primary"></i> Decision Tree</li> | |
| <li><i class="fas fa-check text-primary"></i> K-Nearest Neighbors</li> | |
| <li><i class="fas fa-check text-primary"></i> Support Vector Regression (SVR)</li> | |
| </ul> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| <style> | |
| .hero-section { | |
| background: linear-gradient(135deg, #f5f0e8 0%, #faf7f2 50%, #f0ebe3 100%); | |
| min-height: 500px; | |
| border-radius: 0 0 50px 50px; | |
| } | |
| .hero-title { | |
| color: #2d3748; | |
| } | |
| .hero-subtitle { | |
| color: #2d3748; | |
| font-size: 1.8rem; | |
| font-weight: 600; | |
| } | |
| .hero-description { | |
| color: #4a5568; | |
| font-size: 1.1rem; | |
| } | |
| .step-circle { | |
| width: 80px; | |
| height: 80px; | |
| line-height: 80px; | |
| border-radius: 50%; | |
| font-size: 2rem; | |
| font-weight: bold; | |
| } | |
| .bg-gradient { | |
| background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); | |
| } | |
| </style> | |
| {% endblock %} | |