UjjwalKGupta commited on
Commit
fe94dba
·
verified ·
1 Parent(s): 9de841f

update csv

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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/plain")
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"]: