Commit
·
bd378a6
1
Parent(s):
b6181ba
Remove model_used field from response to maintain original response format
Browse files- app/main.py +1 -2
app/main.py
CHANGED
|
@@ -396,8 +396,7 @@ async def colorize(
|
|
| 396 |
"success": True,
|
| 397 |
"result_id": result_id_clean,
|
| 398 |
"download_url": f"{base_url}/results/{result_id}",
|
| 399 |
-
"api_download": f"{base_url}/download/{result_id_clean}"
|
| 400 |
-
"model_used": model_type_for_log
|
| 401 |
}
|
| 402 |
|
| 403 |
# Log to MongoDB (colorization_db -> colorizations)
|
|
|
|
| 396 |
"success": True,
|
| 397 |
"result_id": result_id_clean,
|
| 398 |
"download_url": f"{base_url}/results/{result_id}",
|
| 399 |
+
"api_download": f"{base_url}/download/{result_id_clean}"
|
|
|
|
| 400 |
}
|
| 401 |
|
| 402 |
# Log to MongoDB (colorization_db -> colorizations)
|