pvanand commited on
Commit
e0b71ff
1 Parent(s): 4336878

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +1 -1
main.py CHANGED
@@ -109,7 +109,7 @@ async def create_report(input: ReportInput):
109
  report = generate_report(input.topic, input.description)
110
  return {"report": report}
111
 
112
- @app.post("/generate_report")
113
  async def fetch_images(input: TopicInput):
114
  images = get_images(input.topic, input.num_topics)
115
  return {"images": images}
 
109
  report = generate_report(input.topic, input.description)
110
  return {"report": report}
111
 
112
+ @app.post("/get_images")
113
  async def fetch_images(input: TopicInput):
114
  images = get_images(input.topic, input.num_topics)
115
  return {"images": images}