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

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -28,7 +28,7 @@ async def process(data: InputData):
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}
33
 
34
  def process_input_gradio(problem_description: str):
 
28
 
29
  @app.post("/process-constraints", response_model=OutputData)
30
  async def process(constraints: InputConstraints):
31
+ result = process_input_from_constraints(constraints, global_tech, global_tech_embeddings)
32
  return {"technologies": result}
33
 
34
  def process_input_gradio(problem_description: str):