heymenn commited on
Commit
c4e41ec
·
verified ·
1 Parent(s): 84d9c6a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -48,12 +48,12 @@ async def process_constraints(constraints: InputConstraints):
48
  return {"technologies": result}
49
 
50
  @app.post("/prior-art-constraints", response_model=PriorArt)
51
- async def prior_art_search(technologies: TechnologyData, constraints: InputConstraints, type: str):
52
- prior_art = process_prior_art(technologies, constraints, type)
53
  return prior_art
54
 
55
  @app.post("/prior-art-problems", response_model=PriorArt)
56
- async def prior_art_search(technologies: TechnologyData, problems: InputData, type: str):
57
  prior_art = process_prior_art(technologies, problems, type)
58
  return prior_art
59
 
 
48
  return {"technologies": result}
49
 
50
  @app.post("/prior-art-constraints", response_model=PriorArt)
51
+ async def prior_art_search(TechnologyData, InputConstraints, type: str):
52
+ prior_art = process_prior_art(TechnologyData, InputConstraints, type)
53
  return prior_art
54
 
55
  @app.post("/prior-art-problems", response_model=PriorArt)
56
+ async def prior_art_search_problems(technologies: TechnologyData, problems: InputData, type: str):
57
  prior_art = process_prior_art(technologies, problems, type)
58
  return prior_art
59