heymenn commited on
Commit
88e0835
·
verified ·
1 Parent(s): cf6ba24

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -26,7 +26,7 @@ async def process(data: InputData):
26
  return {"technologies": result}
27
 
28
 
29
- @app.post("/process", response_model=OutputData)
30
  async def process(constraints: InputConstraints):
31
  result = process_input(constraints, global_tech, global_tech_embeddings)
32
  return {"technologies": result}
 
26
  return {"technologies": result}
27
 
28
 
29
+ @app.post("/process-constraints", response_model=OutputData)
30
  async def process(constraints: InputConstraints):
31
  result = process_input(constraints, global_tech, global_tech_embeddings)
32
  return {"technologies": result}