Team Ai
Apppublic

Shanmukha2491/Email_Classification

sourceHugging Faceupdated 1y agoView on Hugging Face
0likes
train.py15 linesDownload Raw Back to scripts
1# Import the training function from the models module2from models import train_model3 4# This block ensures the training only runs when this script is executed directly,5# and not when it's imported as a module elsewhere6if __name__ == "__main__":7    # Notify the user that model training has started8    print("๐Ÿš€ Training the model...")9 10    # Call the function that handles model training11    train_model()12 13    # Let the user know that training is complete14    print("โœ… Model training complete.")15