pvanand commited on
Commit
95f11c6
1 Parent(s): a59f7d5

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +1 -1
main.py CHANGED
@@ -115,5 +115,5 @@ async def create_report(input: ReportInput):
115
 
116
  @app.post("/get_images")
117
  async def fetch_images(input: imageInput):
118
- images = get_images(input.topic, input.num_images)
119
  return {"images": images}
 
115
 
116
  @app.post("/get_images")
117
  async def fetch_images(input: imageInput):
118
+ images = get_images(input.user_input, input.num_images)
119
  return {"images": images}