tecuts commited on
Commit
4217039
·
verified ·
1 Parent(s): af56894

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -128,7 +128,7 @@ async def process_in_background(
128
 
129
 
130
  # --- API Endpoints ---
131
- @app.post("/api/start-processing", status_code=status.HTTP_202_ACCEPTED)
132
  async def start_processing_job(request: Request, background_tasks: BackgroundTasks):
133
  """
134
  Accepts a job and starts it in the background. Returns a task ID immediately.
 
128
 
129
 
130
  # --- API Endpoints ---
131
+ @app.post("/api/process", status_code=status.HTTP_202_ACCEPTED)
132
  async def start_processing_job(request: Request, background_tasks: BackgroundTasks):
133
  """
134
  Accepts a job and starts it in the background. Returns a task ID immediately.