licorne2lc commited on
Commit
fdfae4e
·
1 Parent(s): 1418093
Files changed (1) hide show
  1. README.md +68 -2
README.md CHANGED
@@ -5,7 +5,73 @@ colorFrom: green
5
  colorTo: red
6
  sdk: docker
7
  pinned: false
8
- short_description: prediction du tarif de location a la journée
9
  ---
10
 
11
- Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
5
  colorTo: red
6
  sdk: docker
7
  pinned: false
8
+ short_description: Prédiction du tarif de location à la journée
9
  ---
10
 
11
+ ## 🚀 API GetAround Location de voiture
12
+
13
+ Bienvenue sur l'API GetAround ! Cette API permet de prédire le **prix de location journalier** d'une voiture à partir de ses caractéristiques.
14
+
15
+ ---
16
+
17
+ ### ✅ État de fonctionnement de l'espace
18
+
19
+ - **URL de l’espace** :
20
+ 🔗 [https://huggingface.co/spaces/licorne2lc/get_around_api](https://huggingface.co/spaces/licorne2lc/get_around_api)
21
+
22
+ - **Message de fonctionnement** :
23
+
24
+ ```json
25
+ {
26
+ "message": "Bienvenue sur l'API GET Around! auteur —> Jerome Moulinier",
27
+ "model_status": "✅ Modèle chargé avec succès"
28
+ }
29
+ ```
30
+
31
+ ---
32
+
33
+ ### 📬 Endpoint de prédiction
34
+
35
+ - **URL de l’interface Swagger (docs)** :
36
+ 📎 [https://licorne2lc-get-around-api.hf.space/docs#/Prediction/predict_predict_post](https://licorne2lc-get-around-api.hf.space/docs#/Prediction/predict_predict_post)
37
+
38
+ - **Méthode HTTP** : `POST`
39
+ - **Endpoint** : `/predict`
40
+
41
+ Exemple de payload :
42
+
43
+ ```json
44
+ {
45
+ "model_key": "Peugeot",
46
+ "mileage": 13131,
47
+ "engine_power": 110,
48
+ "fuel": "diesel",
49
+ "paint_color": "grey",
50
+ "car_type": "convertible",
51
+ "private_parking_available": true,
52
+ "has_gps": true,
53
+ "has_air_conditioning": true,
54
+ "automatic_car": true,
55
+ "has_getaround_connect": true,
56
+ "has_speed_regulator": true,
57
+ "winter_tires": true
58
+ }
59
+ ```
60
+
61
+ ---
62
+
63
+ ### 🔧 Stack technique
64
+
65
+ - Python 3.10
66
+ - FastAPI
67
+ - scikit-learn (v1.6.1)
68
+ - joblib
69
+ - Docker (SDK Hugging Face)
70
+
71
+ ---
72
+
73
+ ### 👤 Auteur
74
+
75
+ Jerome Moulinier – [github.com/licorne2lc](https://github.com/licorne2lc)
76
+
77
+ ---