mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
feat(api): save file as prompt_templates.csv
This commit is contained in:
parent
599db7296f
commit
7a3eaa8da9
@ -254,7 +254,9 @@ async def export_style_presets():
|
|||||||
output.close()
|
output.close()
|
||||||
|
|
||||||
return Response(
|
return Response(
|
||||||
content=csv_data, media_type="text/csv", headers={"Content-Disposition": "attachment; filename=data.csv"}
|
content=csv_data,
|
||||||
|
media_type="text/csv",
|
||||||
|
headers={"Content-Disposition": "attachment; filename=prompt_templates.csv"},
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user