Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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 =
|
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):
|