Update app.py
Browse files
app.py
CHANGED
|
@@ -841,7 +841,7 @@ HTML_CONTENT = """
|
|
| 841 |
<div class="container">
|
| 842 |
<h1>🔵🔵🔵 grai Soil Analysis API - v4.0</h1>
|
| 843 |
<p>API for soil particle size distribution analysis from images with usage tracking</p>
|
| 844 |
-
<p>Powered by <strong>
|
| 845 |
<p>Developed by <a href="mailto:enrico@deepsoil.at">Enrico Soranzo</a></p>
|
| 846 |
|
| 847 |
<div class="usage-tracking">
|
|
@@ -938,7 +938,7 @@ async def health():
|
|
| 938 |
return {
|
| 939 |
"status": "healthy",
|
| 940 |
"model_loaded": model is not None,
|
| 941 |
-
"model_version": "
|
| 942 |
"psd_classes": PSD_CLASSES,
|
| 943 |
"usage_tracking": True,
|
| 944 |
"usage_db_path": USAGE_DB_PATH
|
|
|
|
| 841 |
<div class="container">
|
| 842 |
<h1>🔵🔵🔵 grai Soil Analysis API - v4.0</h1>
|
| 843 |
<p>API for soil particle size distribution analysis from images with usage tracking</p>
|
| 844 |
+
<p>Powered by <strong>grai4</strong> model — outputs 11 PSD classes (softmax) for fine-grained particle size distribution</p>
|
| 845 |
<p>Developed by <a href="mailto:enrico@deepsoil.at">Enrico Soranzo</a></p>
|
| 846 |
|
| 847 |
<div class="usage-tracking">
|
|
|
|
| 938 |
return {
|
| 939 |
"status": "healthy",
|
| 940 |
"model_loaded": model is not None,
|
| 941 |
+
"model_version": "grai-04_004",
|
| 942 |
"psd_classes": PSD_CLASSES,
|
| 943 |
"usage_tracking": True,
|
| 944 |
"usage_db_path": USAGE_DB_PATH
|