mirror of
https://github.com/invoke-ai/InvokeAI.git
synced 2026-01-15 06:58:13 -05:00
feat(api): save file as prompt_templates.csv
This commit is contained in:
@@ -254,7 +254,9 @@ async def export_style_presets():
|
||||
output.close()
|
||||
|
||||
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"},
|
||||
)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user