Start the Flask server:
python main.py
Make predictions:
import requests import json url = "http://127.0.0.1:5000/predict" data = {"description": "RGrid Machine Learning Challenge"} response = requests.post(url, json=data) prediction = response.json()["prediction"] print(f"Predicted condition: {prediction}")
Check the :doc:`../api/index` for detailed API documentation.