mohhhhhit commited on
Commit
0f9345f
·
verified ·
1 Parent(s): 2a241eb

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +0 -1
main.py CHANGED
@@ -501,7 +501,6 @@ async def chat(request: ChatRequest):
501
  except Exception as e:
502
  raise HTTPException(status_code=500, detail=str(e))
503
 
504
- @app.post("/api/spaces/{space_id}/upload")
505
  def process_heavy_files_background(space_id: str, saved_file_paths: List[Dict]):
506
  """Runs in the background so the HTTP request doesn't timeout"""
507
  try:
 
501
  except Exception as e:
502
  raise HTTPException(status_code=500, detail=str(e))
503
 
 
504
  def process_heavy_files_background(space_id: str, saved_file_paths: List[Dict]):
505
  """Runs in the background so the HTTP request doesn't timeout"""
506
  try: