update csv
Browse files
app.py
CHANGED
|
@@ -918,7 +918,7 @@ def compute_index_histogram(file_url: str, index_name: str, start_date: str, end
|
|
| 918 |
final_string = ", ".join(output_parts)
|
| 919 |
|
| 920 |
# Return the string as a plain text response
|
| 921 |
-
return Response(content=final_string, media_type="text/
|
| 922 |
|
| 923 |
# Register endpoints for multiple indices with date range
|
| 924 |
for idx in ["NDVI", "EVI", "EVI2", "RandomForest", "CI", "GujVDI"]:
|
|
|
|
| 918 |
final_string = ", ".join(output_parts)
|
| 919 |
|
| 920 |
# Return the string as a plain text response
|
| 921 |
+
return Response(content=final_string, media_type="text/csv")
|
| 922 |
|
| 923 |
# Register endpoints for multiple indices with date range
|
| 924 |
for idx in ["NDVI", "EVI", "EVI2", "RandomForest", "CI", "GujVDI"]:
|