Maksymilian Jankowski commited on
Commit
5bd9a0c
·
1 Parent(s): fcfd5ab

fix deployment HTTP2 no Connection

Browse files
Files changed (1) hide show
  1. routers/user_models.py +0 -8
routers/user_models.py CHANGED
@@ -349,8 +349,6 @@ async def text_to_3d(prompt: TextPrompt, background_tasks: BackgroundTasks, curr
349
  content=response_data,
350
  status_code=200,
351
  headers={
352
- "Content-Type": "application/json",
353
- "Connection": "close",
354
  "Cache-Control": "no-cache"
355
  }
356
  )
@@ -410,8 +408,6 @@ async def image_to_3d(request: ImageTo3DRequest, background_tasks: BackgroundTas
410
  content=response_data,
411
  status_code=200,
412
  headers={
413
- "Content-Type": "application/json",
414
- "Connection": "close",
415
  "Cache-Control": "no-cache"
416
  }
417
  )
@@ -488,8 +484,6 @@ async def image_to_3d_upload(
488
  content=response_data,
489
  status_code=200,
490
  headers={
491
- "Content-Type": "application/json",
492
- "Connection": "close",
493
  "Cache-Control": "no-cache"
494
  }
495
  )
@@ -575,8 +569,6 @@ async def multi_image_to_3d_upload(
575
  content=response_data,
576
  status_code=200,
577
  headers={
578
- "Content-Type": "application/json",
579
- "Connection": "close",
580
  "Cache-Control": "no-cache"
581
  }
582
  )
 
349
  content=response_data,
350
  status_code=200,
351
  headers={
 
 
352
  "Cache-Control": "no-cache"
353
  }
354
  )
 
408
  content=response_data,
409
  status_code=200,
410
  headers={
 
 
411
  "Cache-Control": "no-cache"
412
  }
413
  )
 
484
  content=response_data,
485
  status_code=200,
486
  headers={
 
 
487
  "Cache-Control": "no-cache"
488
  }
489
  )
 
569
  content=response_data,
570
  status_code=200,
571
  headers={
 
 
572
  "Cache-Control": "no-cache"
573
  }
574
  )