Spaces:
Running on T4
Running on T4
Muhammad Usman Nazir commited on
Commit ·
5fa859b
1
Parent(s): 6794a65
fix: remove Content-Disposition header from viz2d_job_file response
Browse files
app.py
CHANGED
|
@@ -1144,7 +1144,6 @@ async def viz2d_job_file(job_id: str):
|
|
| 1144 |
return Response(
|
| 1145 |
content=bundle_path.read_bytes(),
|
| 1146 |
media_type="application/json",
|
| 1147 |
-
headers={"Content-Disposition": 'attachment; filename="visualizer.vizbundle.json"'},
|
| 1148 |
)
|
| 1149 |
|
| 1150 |
|
|
|
|
| 1144 |
return Response(
|
| 1145 |
content=bundle_path.read_bytes(),
|
| 1146 |
media_type="application/json",
|
|
|
|
| 1147 |
)
|
| 1148 |
|
| 1149 |
|