A newer version of the Gradio SDK is available: 6.25.0
metadata
title: Vehicle Priority Classifier
emoji: 🚛
colorFrom: blue
colorTo: red
sdk: gradio
sdk_version: 4.44.0
app_file: app.py
pinned: false
Vehicle Maintenance Ticket Priority Classifier
Classifies vehicle maintenance issues as Low, Medium, or High priority using an XGBoost model.
REST API
Send a POST request to /predict:
curl -X POST "https://<your-hf-username>-vehicle-priority-classifier.hf.space/predict" \
-H "Content-Type: application/json" \
-d '{"issue_text": "Brakes are making a grinding noise"}'
Response:
{"priority": "High"}
UI
Visit /ui for the interactive Gradio interface.